Further tweaking

This commit is contained in:
Griatch 2020-06-19 18:11:20 +02:00
parent 95dc61cd50
commit 09c7b40539
5 changed files with 19 additions and 23 deletions

View file

@ -23,7 +23,7 @@ Evennia's 'flat API' has shortcuts to common tools, available by only importing
### Main config
- [evennia.settings_default](github:settings_default.py) - all settings (modify/override in `mygame/server/settings.py`)
- [evennia.settings_default](github:evennia/settings_default.py) - all settings (modify/override in `mygame/server/settings.py`)
### Search functions

View file

@ -1,7 +1,9 @@
{%- extends "classic/layout.html" %}
{%- extends "!layout.html" %}
{%- block relbaritems %}
{%- if master_doc != pagename %}
<li class="nav-item nav-item-last"><a href="{{ pathto(pagename) }}">{{ title|striptags|e }}</a></li>
{% if next %}
<a href="{{ next.link|e }}">{{ next.title }}</a>
{% endif %}
{% if prev %}
<a href="{{ prev.link|e }}">{{ prev.title }}</a>
{% endif %}
{% endblock %}

View file

@ -1,7 +0,0 @@
evennia
=======
.. toctree::
:maxdepth: 4
evennia

View file

@ -76,6 +76,7 @@ html_sidebars = {
}
html_favicon = "_static/images/favicon.ico"
html_logo = "_static/images/evennia_logo.png"
html_short_title = f"Evennia {release}"
# HTML syntax highlighting style
pygments_style = "sphinx"
@ -133,7 +134,7 @@ def url_resolver(url):
# auto-create TOCs if a list of links is under these headers
auto_toc_sections = ["Contents", "Toc", "Index"]
auto_toc_sections = ["Contents", "Toc", "Index", "API", "Overview"]
recommonmark_config = {
"enable_auto_toc_tree": True,

0
docs/source/layout.html Normal file
View file