[Epydoc-commits] SF.net SVN: epydoc: [1323] trunk/epydoc
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-24 18:47:32
|
Revision: 1323 Author: edloper Date: 2006-08-24 11:47:28 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1323&view=rev Log Message: ----------- - Added screenshots to homepage - Use a local (modified) version of rst2html to convert regression tests, so doctest blocks will get colored. - Moved regression tests to a doctests/ subdir of the homepage. Modified Paths: -------------- trunk/epydoc/Makefile trunk/epydoc/doc/doctest/index.html trunk/epydoc/doc/index.html Modified: trunk/epydoc/Makefile =================================================================== --- trunk/epydoc/Makefile 2006-08-24 18:45:44 UTC (rev 1322) +++ trunk/epydoc/Makefile 2006-08-24 18:47:28 UTC (rev 1323) @@ -41,6 +41,9 @@ EPYDOC = $(PYTHON) src/epydoc/cli.py export PYTHONPATH=src/ +# Options for rst->html converter +RST2HTML = $(PYTHON) src/tools/rst2html.py + ##////////////////////////////////////////////////////////////////////// ## Usage ##////////////////////////////////////////////////////////////////////// @@ -92,6 +95,7 @@ rsync -arzv -e ssh $(HTML_STDLIB)/ $(HOST):$(DIR)/stdlib local: .webpage.up2date + rm -rf /var/www/epydoc/* cp -r $(WEBDIR)/* /var/www/epydoc checkdoc: checkdocs @@ -106,7 +110,7 @@ cp -r $(DOCS) $(WEBDIR) cp -r $(HTML_API) $(WEBDIR)/api cp -r $(HTML_EXAMPLES) $(WEBDIR)/examples - cp -r $(HTML_DOCTEST) $(WEBDIR)/doctest + cp -r $(HTML_DOCTEST)/* $(WEBDIR)/doctest cp $(LATEX_API)/api.pdf $(WEBDIR)/epydoc.pdf touch .webpage.up2date @@ -132,14 +136,14 @@ --name "Epydoc $(VERSION)" $(PY_SRC) -v touch .api-pdf.up2date -doctest-html: .doctests.up2date +doctest-html: .doctest-html.up2date .doctest-html.up2date: $(DOCTESTS) rm -rf $(HTML_DOCTEST) mkdir -p $(HTML_DOCTEST) - @for doctest in $(DOCTESTS); do \ + for doctest in $(DOCTESTS); do \ out_file=$(HTML_DOCTEST)/`basename $$doctest .doctest`.html; \ - echo rst2html $$doctest $$out_file; \ - if rst2html $$doctest $$out_file; then true; \ + echo "$(RST2HTML) $$doctest $$out_file"; \ + if $(RST2HTML) $$doctest $$out_file; then true; \ else exit 1; fi\ done touch .doctest-html.up2date Modified: trunk/epydoc/doc/doctest/index.html =================================================================== --- trunk/epydoc/doc/doctest/index.html 2006-08-24 18:45:44 UTC (rev 1322) +++ trunk/epydoc/doc/doctest/index.html 2006-08-24 18:47:28 UTC (rev 1323) @@ -1,7 +1,7 @@ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>Epydoc: Regression Tests</title> -<link rel="stylesheet" href="epydoc.css" type="text/css"/> +<link rel="stylesheet" href="../epydoc.css" type="text/css"/> </head> <!-- $Id: future.html 1211 2006-04-10 19:38:37Z edloper $ --> @@ -19,18 +19,18 @@ <h2 class="box-title">Regression Tests</h2> <ul> - <li> <a href="doctest/apidoc.html">APIDoc</a> -- The classes used + <li> <a href="apidoc.html">APIDoc</a> -- The classes used to encode API documentation about Python programs.</li> - <li> <a href="doctest/docintrospecter.html">Introspection</a> -- + <li> <a href="docintrospecter.html">Introspection</a> -- Extracting API information about Python objects by directly introspecting their values.</li> - <li> <a href="doctest/docparser.html">Source Code Parsing</a> -- + <li> <a href="docparser.html">Source Code Parsing</a> -- Extracting API information about Python objects by parsing their source code.</li> - <li> <a href="doctest/encoding.html">Unicode & Encodings</a> -- + <li> <a href="encoding.html">Unicode & Encodings</a> -- Tests for the processing of Python files that use non-ascii encodings. </li> - <li> <a href="doctest/epytext.html">Epytext</a> -- The default + <li> <a href="epytext.html">Epytext</a> -- The default markup language used by epydoc.</li> </ul> </div> Modified: trunk/epydoc/doc/index.html =================================================================== --- trunk/epydoc/doc/index.html 2006-08-24 18:45:44 UTC (rev 1322) +++ trunk/epydoc/doc/index.html 2006-08-24 18:47:28 UTC (rev 1323) @@ -32,7 +32,7 @@ <div class="box"> <h2 class="box-title">News</h2> -<p><b>Epydoc 3.0 alpha 3 released [August 2006/</b></br /> The third +<p><b>Epydoc 3.0 alpha 3 released [August 2006]</b></br /> The third alpha release of epydoc 3.0 is now available on the <a href="http://sourceforge.net/project/showfiles.php?group_id=32455">SourceForge download page</a>. See the <a href="whatsnew.html">What's New</a> @@ -48,8 +48,38 @@ presentation</a> are available for download. </p> </div> +<!-- ================= Screenshots ================= --> +<div class="box"> +<h2 class="box-title">Screenshots</h2> +<center> +<table class="transparent" cellspacing="10"> + <tr> + <td class="transparent" valign="top"><a href="http://sourceforge.net/project/screenshots.php?group_id=32455&ssid=40524"><img src="http://sourceforge.net/dbimage.php?id=85862" alt="Generated HTML documentation for epydoc" border="0" /></a><br /> + <!-- Generated HTML documentation for epydoc --> </td> + <td class="transparent" valign="top"><a href="http://sourceforge.net/project/screenshots.php?group_id=32455&ssid=40525"><img src="http://sourceforge.net/dbimage.php?id=85864" alt="Example of a UML graph generated by epydoc" border="0" /></a><br /> + <!-- Example of a UML graph generated by epydoc --> </td> + <td class="transparent" valign="top"><a href="http://sourceforge.net/project/screenshots.php?group_id=32455&ssid=40526"><img src="http://sourceforge.net/dbimage.php?id=85866" alt="Example of syntax highlighted source, w/ links to API docs" border="0" /></a><br /> + <!-- Example of syntax highlighted source, w/ links to API docs --> </td> + <td class="transparent" valign="top"><a href="http://sourceforge.net/project/screenshots.php?group_id=32455&ssid=40527"><img src="http://sourceforge.net/dbimage.php?id=85868" alt="Identifier index page for generated Python 2.4 docs" border="0" /></a><br /> + <!-- Identifier index page for generated Python 2.4 docs --> </td> + </tr> +</table> +</center> +</div> + +<!-- NEXT COLUMN --> </td><td width="50%" class="transparent"> +<!-- ================= Latest Release ================= --> +<div class="box"> +<h2 class="box-title">Latest Release</h2> +<p> The latest stable release of epydoc (version 2.1) can be +downloaded from the <a +href="http://sourceforge.net/project/showfiles.php?group_id=32455">SourceForge +download page</a>. See <a href="installing.html">Installing +Epydoc</a> for more information. </p> +</div> + <!-- ================= Documentation ================= --> <div class="box"> <h2 class="box-title">Documentation</h2> @@ -78,24 +108,19 @@ <li> <a href="history.html">History</a> </li> <li> <a href="future.html">Future Directions</a> </li> <li> <a href="relatedprojects.html">Related Projects</a> </li> - <li> <a href="doctests.html">Regression Tests</a> </li> + <li> <a href="doctest/index.html">Regression Tests</a> </li> </ul></p> </div> -<!-- ================= Latest Release ================= --> -<div class="box"> -<h2 class="box-title">Latest Release</h2> -<p> The latest stable release of epydoc (version 2.1) can be -downloaded from the <a -href="http://sourceforge.net/project/showfiles.php?group_id=32455">SourceForge -download page</a>. See <a href="installing.html">Installing -Epydoc</a> for more information. </p> -</div> +</td></tr></table> -</td></tr></table> + + </div> + + <table width="100%" class="navbox" cellpadding="1" cellspacing="0"> <tr> <a class="nav" href="index.html"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |