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

@ -61,7 +61,7 @@ _USED_REFS = {}
_CURRFILE = None
def auto_link_remapper():
def auto_link_remapper(no_autodoc=False):
"""
- Auto-Remaps links to fit with the actual document file structure. Requires
all doc files to have a unique name.
@ -224,7 +224,8 @@ def auto_link_remapper():
with open(_TOC_FILE, "w") as fil:
fil.write("# Toc\n")
fil.write("- [API root](api/evennia-api.rst)")
if not no_autodoc:
fil.write("- [API root](api/evennia-api.rst)")
for ref in sorted(toc_map.values()):