Commits

Thomas Lotze  committed 972a9b1

modernised sphinx and testrunner usage (no more sphinx-autogen, leave testrunner options to the user)

  • Participants
  • Parent commits 957be91

Comments (0)

Files changed (2)

 [buildout]
 develop = .
-parts = rename test sphinx sphinx-autogen
+parts = rename test sphinx
 
 [rename]
 recipe = zc.recipe.egg
 [test]
 recipe = zc.recipe.testrunner
 eggs = tl.rename [test]
-defaults = ["-v", "-c", "-s", "tl.rename"]
 
 [sphinx]
 recipe = zc.recipe.egg
 scripts = sphinx-build
 arguments = argv=sys.argv+("-E -c doc/ -d build/sphinx/doctrees"
                            " . build/sphinx/html/").split()
-
-[sphinx-autogen]
-recipe = zc.recipe.egg
-eggs = sphinx
-       tl.rename
-scripts = sphinx-autogen
-arguments = argv=sys.argv+"-o doc/ -s .txt doc/modules.txt".split()
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ['sphinx.ext.autosummary']
 
+autosummary_generate = ['doc/modules.txt']
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['templates']