More fixes

This commit is contained in:
Griatch 2020-04-05 15:02:38 +02:00
parent 9f7d826957
commit cb975f1b16
3 changed files with 161 additions and 17 deletions

View file

@ -54,10 +54,17 @@ release = '0.9'
# ones.
extensions = [
"recommonmark",
"sphinx.ext.napoleon",
"sphinx_multiversion"
"sphinx_multiversion",
"sphinx.ext.autosectionlabel"
]
if not os.environ.get("NOAUTODOC"):
extensions.append("sphinx.ext.napoleon")
# make sure sectionlabel references can be used as path/to/file:heading
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@ -95,8 +102,7 @@ smv_outputdir_format = "versions" + sep + "{config.release}"
# dynamic setup
github_doc_root = "https://github.com/evennia/tree/master/docs/"
github_doc_root = "https://github.com/evennia/tree/master/docs"
def setup(app):
# recommonmark setup