mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Work on cleaning up docs
This commit is contained in:
parent
d45ef9c396
commit
45edb7ae33
17 changed files with 218 additions and 456 deletions
|
|
@ -179,7 +179,7 @@ def url_resolver(app, docname, source):
|
|||
Convert urls by catching special markers.
|
||||
|
||||
Supported replacements (used e.g. as [txt](github:...)
|
||||
github:master/<url> - add path to Evennia github master branch
|
||||
github:main/<url> - add path to Evennia github master branch
|
||||
github:develop/<url> - add path to Evennia github develop branch
|
||||
github:issue - add link to the Evennia github issue-create page
|
||||
src:foo.bar#Foo - add link to source doc in _modules
|
||||
|
|
@ -189,7 +189,6 @@ def url_resolver(app, docname, source):
|
|||
"""
|
||||
|
||||
def _url_remap(url):
|
||||
|
||||
# determine depth in tree of current document
|
||||
docdepth = docname.count("/") + 1
|
||||
relative_path = "../".join("" for _ in range(docdepth))
|
||||
|
|
@ -294,7 +293,6 @@ def autodoc_post_process_docstring(app, what, name, obj, options, lines):
|
|||
Post-process docstring in various ways. Must modify lines-list in-place.
|
||||
"""
|
||||
try:
|
||||
|
||||
# clean out ANSI colors
|
||||
|
||||
if ansi_clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue