Update conf/remapper in sync with master

This commit is contained in:
Griatch 2020-10-15 01:25:02 +02:00
parent c4a9acc759
commit ce4c89c133
3 changed files with 224 additions and 6 deletions

View file

@ -7,7 +7,6 @@
import os
import sys
import re
import sphinx_theme
from recommonmark.transform import AutoStructify
from sphinx.util.osutil import cd
@ -77,7 +76,7 @@ html_sidebars = {
}
html_favicon = "_static/images/favicon.ico"
html_logo = "_static/images/evennia_logo.png"
html_short_title = f"Evennia {release}"
html_short_title = "Evennia"
# HTML syntax highlighting style
pygments_style = "sphinx"
@ -318,7 +317,8 @@ def setup(app):
sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
from docs.pylib import auto_link_remapper
auto_link_remapper.auto_link_remapper()
_no_autodoc = os.environ.get("NOAUTODOC")
auto_link_remapper.auto_link_remapper(no_autodoc=_no_autodoc)
print("Updated source/toc.md file")
# custom lunr-based search