Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!



This is a package that is a SCons tool for processing Python documentation Sphinx.

Inspiration from Glenn Hutchings' template SConstruct.


Currently this tool is at a very early stage so there is no release. In order to use this you will have to take a clone of the Mercurial repository. There are many ways of organizing things, probably the easiest is to create the directory:


(this works for Posix compliant systems, for Windows replace with the path that works.)

Change directory to this directory and then:

hg clone sphinx

The sphinx tool will then be avilable for all your SCons projects.


Currently only the HTML builder exists. For example:

environment = Environment ( tools = [ 'sphinx' ] )
environment.HTML ( )

this assumes all the reStructured Text files are in the directory source and that all the HTML files should be created in build. To change these set the source and target keyword parameters to the HTML builder. So for example:

environment = Environment ( tools = [ 'sphinx' ] )
environment.HTML ( source = 'rst' , target = 'docs' )

Recent activity

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.