Merge pull request #1748 from ArthurHoaro/fix/mkdocs

Fix documentation build
This commit is contained in:
ArthurHoaro 2021-05-13 11:43:43 +02:00 committed by GitHub
commit 0f4cd55599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
{# {#
The entry point for the ReadTheDocs Theme. The entry point for the ReadTheDocs Theme.
Any theme customisations should override this file to redefine blocks defined in Any theme customisations should override this file to redefine blocks defined in
the various templates. The custom theme should only need to define a main.html the various templates. The custom theme should only need to define a main.html
which `{% extends "base.html" %}` and defines various blocks which will replace which `{% extends "base.html" %}` and defines various blocks which will replace
@ -14,7 +14,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
{%- if 'media.readthedocs.org' not in config.extra_css[0] %} {%- if config.extra_css|length and 'media.readthedocs.org' not in config.extra_css[0] %}
<meta name="robots" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow">
{%- endif %} {%- endif %}

View file

@ -12,7 +12,7 @@ site_dir: doc/html
# - https://github.com/rtfd/readthedocs.org/issues/4314 # - https://github.com/rtfd/readthedocs.org/issues/4314
# strict: true # strict: true
pages: nav:
- Home: index.md - Home: index.md
- Setup: - Setup:
- Server configuration: Server-configuration.md - Server configuration: Server-configuration.md