This page is intended mostly for developers.
In this section:
List of things I would like to add to pubsub:
Contributions are welcome! There are many ways you could contribute:
Please contact me via email (schoenborno, at users.sf.net) or by posting on the forums (links in the Support section).
In addition to the System Requirements, the following are required:
To run unit tests:
To generate these docs:
sphinx >= 0.6.3; note that sphinx must be patched as per post on sphinx-dev:
--- C:/Python24/Lib/site-packages/Sphinx-0.6.5-py2.4.egg_orig/sphinx/environment.py Thu Mar 18 09:59:23 2010
+++ C:/Python24/Lib/site-packages/Sphinx-0.6.5-py2.4.egg/sphinx/environment.py Thu Mar 18 09:57:40 2010
@@ -933,12 +933,12 @@
node['refuri'] = node['anchorname'] or '#'
return toc
- def get_toctree_for(self, docname, builder, collapse):
+ def get_toctree_for(self, docname, builder, **tmplKw):
"""Return the global TOC nodetree."""
doctree = self.get_doctree(self.config.master_doc)
for toctreenode in doctree.traverse(addnodes.toctree):
result = self.resolve_toctree(docname, builder, toctreenode,
- prune=True, collapse=collapse)
+ prune=True, **tmplKw)
if result is not None:
return result
--- C:/Python24/Lib/site-packages/Sphinx-0.6.5-py2.4.egg_orig/sphinx/builders/html.py Thu Mar 18 09:59:25 2010
+++ C:/Python24/Lib/site-packages/Sphinx-0.6.5-py2.4.egg/sphinx/builders/html.py Thu Mar 18 09:55:40 2010
@@ -623,9 +623,9 @@
if self.indexer is not None and title:
self.indexer.feed(pagename, title, doctree)
- def _get_local_toctree(self, docname, collapse=True):
+ def _get_local_toctree(self, docname, **tmplKw):
return self.render_partial(self.env.get_toctree_for(
- docname, self, collapse))['fragment']
+ docname, self, **tmplKw))['fragment']
def get_outfilename(self, pagename):
return path.join(self.outdir, os_path(pagename) + self.out_suffix)
The following is likely to be useful to pubsub developers and contributors only.
The package currently gets tested on Windows XP only. The tests can be run automatically by running runtests.bat from the tests folder of a source distribution.
If anyone is able to run the test suite on other platforms, please let me know of the results. A Linux person will have no trouble running the equivalent batch commands on Linux.