]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Enabled sphinx doctests.
authorJason Kirtland <jek@discorporate.us>
Sat, 6 Dec 2008 17:47:20 +0000 (17:47 +0000)
committerJason Kirtland <jek@discorporate.us>
Sat, 6 Dec 2008 17:47:20 +0000 (17:47 +0000)
doc/build/Makefile
doc/build/conf.py

index b27f2c75e6310d49585e755818fbb8b2e065e116..f1796e3dbf8a531e60b3ca9ff3a40ffa829db60c 100644 (file)
@@ -46,3 +46,5 @@ latex:
        @echo "Build finished; the LaTeX files are in output/latex."
        @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
              "run these through (pdf)latex."
+doctest:
+       $(SPHINXBUILD) -b doctest -d output/doctrees . .
index f423fa9b0bfd93c6b26286602d1dd2423ef6d310..320b5e604bf5a8aa83d586734862c5f6ca5de9c3 100644 (file)
@@ -26,7 +26,7 @@ import sqlalchemy
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'builder.builders']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'builder.builders']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['templates']
@@ -66,7 +66,7 @@ release = sqlalchemy.__version__
 #today_fmt = '%B %d, %Y'
 
 # List of documents that shouldn't be included in the build.
-#unused_docs = []
+unused_docs = ['output.txt']
 
 # List of directories, relative to source directory, that shouldn't be searched
 # for source files.