Fix documentation build
- pages parameters has been deprecated and renamed by nav - the build fails with an empty extra_css array
This commit is contained in:
parent
6225cc9c86
commit
e660450a2b
2 changed files with 3 additions and 3 deletions
|
@ -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 %}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue