Added an `only` directive that can selectively include text

based on enabled "tags".  Tags can be given on the command
line.  Also, the current builder output format (e.g. "html" or
"latex") is always a defined tag.
This commit is contained in:
Georg Brandl
2009-02-19 21:56:34 +01:00
parent 8e4ef0d585
commit 4c81b055c8
20 changed files with 242 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ are already present, work fine and can be seen "in action" in the Python docs:
and inclusion of appropriately formatted docstrings.
'''
requires = ['Pygments>=0.8', 'Jinja2>=2.0', 'docutils>=0.4']
requires = ['Pygments>=0.8', 'Jinja2>=2.1', 'docutils>=0.4']
if sys.version_info < (2, 4):
print 'ERROR: Sphinx requires at least Python 2.4 to run.'