mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 04:57:16 +02:00
Almost completed refactoring of source docstrings for new doc system
This commit is contained in:
parent
f74160b993
commit
2f280e8a88
18 changed files with 331 additions and 332 deletions
|
|
@ -185,6 +185,8 @@ def create_toctree():
|
|||
with open(_TOC_FILE, "w") as fil:
|
||||
fil.write("# Toc\n")
|
||||
|
||||
fil.write("- [API root](api/evennia-api.rst)")
|
||||
|
||||
for ref in sorted(toc_map.values()):
|
||||
|
||||
if ref == "toc":
|
||||
|
|
@ -193,6 +195,7 @@ def create_toctree():
|
|||
linkname = ref.replace("-", " ")
|
||||
fil.write(f"\n- [{linkname}]({ref})")
|
||||
|
||||
|
||||
# we add a self-reference so the toc itself is also a part of a toctree
|
||||
fil.write("\n\n```toctree::\n :hidden:\n\n toc\n```")
|
||||
|
||||
|
|
|
|||
|
|
@ -364,6 +364,10 @@ div.code-block-caption {
|
|||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
||||
}
|
||||
|
||||
.sig-paren {
|
||||
margin-left: 1px;
|
||||
}
|
||||
|
||||
.property {
|
||||
font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,4 @@
|
|||
|
||||
{% block footer %}
|
||||
|
||||
{{ super() }}
|
||||
The value of next is {{ next }}.
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Toc
|
||||
|
||||
- [API root](api/evennia-api.rst)
|
||||
- [Coding/Coding Introduction](Coding/Coding-Introduction)
|
||||
- [Coding/Coding Overview](Coding/Coding-Overview)
|
||||
- [Coding/Continuous Integration](Coding/Continuous-Integration)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue