[Scipy-svn] r5235 - in trunk/doc: . frontpage/_templates source

scipy-svn@scip... scipy-svn@scip...
Sun Dec 7 16:06:55 CST 2008


Author: ptvirtan
Date: 2008-12-07 16:06:29 -0600 (Sun, 07 Dec 2008)
New Revision: 5235

Modified:
   trunk/doc/Makefile
   trunk/doc/frontpage/_templates/indexcontent.html
   trunk/doc/source/conf.py
Log:
docs: tune document names

Modified: trunk/doc/Makefile
===================================================================
--- trunk/doc/Makefile	2008-12-07 22:05:52 UTC (rev 5234)
+++ trunk/doc/Makefile	2008-12-07 22:06:29 UTC (rev 5235)
@@ -38,11 +38,12 @@
 	-make -C build/latex all-pdf
 	-test -d build/htmlhelp || make htmlhelp-build
 	-rm -rf build/dist
-	cp -r build/html build/dist
+	mkdir -p build/dist
+	cp -r build/html build/dist/reference
 	touch build/dist/index.html
-	perl -pi -e 's#^\s*(<li><a href=".*?">SciPy.*?Manual.*?&raquo;</li>)\s*$$#<li><a href="/">Numpy and Scipy Documentation</a> &raquo;</li> $$1#;' build/dist/*.html build/dist/*/*.html build/dist/*/*/*.html
+	perl -pi -e 's#^\s*(<li><a href=".*?">SciPy.*?Reference Guide.*?&raquo;</li>)\s*$$#<li><a href="/">Numpy and Scipy Documentation</a> &raquo;</li> $$1#;' build/dist/*.html build/dist/*/*.html build/dist/*/*/*.html
 	(cd build/html && zip -9qr ../dist/scipy-html.zip .)
-	cp build/latex/scipy.pdf build/dist
+	cp build/latex/scipy*.pdf build/dist
 	-cp build/htmlhelp/scipy.chm build/dist
 	cd build/dist && tar czf ../dist.tar.gz *
 	chmod ug=rwX,o=rX -R build/dist

Modified: trunk/doc/frontpage/_templates/indexcontent.html
===================================================================
--- trunk/doc/frontpage/_templates/indexcontent.html	2008-12-07 22:05:52 UTC (rev 5234)
+++ trunk/doc/frontpage/_templates/indexcontent.html	2008-12-07 22:06:29 UTC (rev 5235)
@@ -24,7 +24,8 @@
 	<span><a href="numpy/numpy-user.pdf">[PDF]</a></span>
       </p>
       <p class="biglink"><a class="biglink" href="scipy/reference/">Scipy Reference Guide</a><br/>
-	<span><a href="scipy/scipy-html.zip">[HTML+zip]</a>, <a href="scipy/scipy-ref.pdf">[PDF]</a></span>
+        <span><a href="scipy/scipy-html.zip">[HTML+zip]</a>, <a href="scipy/scipy-ref.pdf">[PDF]</a>,
+          <a href="scipy/scipy.chm">[CHM]</a></span>
       </p>
     </td></tr>
   </table>

Modified: trunk/doc/source/conf.py
===================================================================
--- trunk/doc/source/conf.py	2008-12-07 22:05:52 UTC (rev 5234)
+++ trunk/doc/source/conf.py	2008-12-07 22:06:29 UTC (rev 5235)
@@ -86,7 +86,7 @@
 
 # The name for this set of Sphinx documents.  If None, it defaults to
 # "<project> v<release> documentation".
-html_title = "%s v%s Manual (DRAFT)" % (project, version)
+html_title = "%s v%s Reference Guide (DRAFT)" % (project, version)
 
 # The name of an image file (within the static path) to place at the top of
 # the sidebar.
@@ -152,7 +152,7 @@
 # (source start file, target name, title, author, document class [howto/manual]).
 _stdauthor = 'Written by the SciPy community'
 latex_documents = [
-  ('index', 'scipy.tex', 'SciPy Guide', _stdauthor, 'manual'),
+  ('index', 'scipy-ref.tex', 'SciPy Reference Guide', _stdauthor, 'manual'),
 #  ('user/index', 'scipy-user.tex', 'SciPy User Guide',
 #   _stdauthor, 'manual'),
 ]



More information about the Scipy-svn mailing list