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.
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
which `{% extends "base.html" %}` and defines various blocks which will replace
@ -14,7 +14,7 @@ the blocks defined in base.html and its included child templates.
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<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">
{%- endif %}

View file

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