diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-07-06 20:28:30 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2020-07-06 20:28:30 -0300 |
commit | b6a31b9c4d43333b5e8ca8f0a0935544e29a21a5 (patch) | |
tree | f38c97da06e6842fb401d920346e8abc5056189e /doc/en/_templates | |
parent | ef62b865f019da82d683c3cda914940331bd8bba (diff) | |
download | pytest-b6a31b9c4d43333b5e8ca8f0a0935544e29a21a5.tar.gz |
Remove warning about development/outdated docs
Unfortunately couldn't figure out how to fix the generated link, so at least
for now remove it to avoid confusion.
Fix #7331
Diffstat (limited to 'doc/en/_templates')
-rw-r--r-- | doc/en/_templates/layout.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/en/_templates/layout.html b/doc/en/_templates/layout.html new file mode 100644 index 000000000..f7096eaaa --- /dev/null +++ b/doc/en/_templates/layout.html @@ -0,0 +1,52 @@ +{# + + Copied from: + + https://raw.githubusercontent.com/pallets/pallets-sphinx-themes/b0c6c41849b4e15cbf62cc1d95c05ef2b3e155c8/src/pallets_sphinx_themes/themes/pocoo/layout.html + + And removed the warning version (see #7331). + +#} + +{% extends "basic/layout.html" %} + +{% set metatags %} + {{- metatags }} + <meta name="viewport" content="width=device-width, initial-scale=1"> +{%- endset %} + +{% block extrahead %} + {%- if page_canonical_url %} + <link rel="canonical" href="{{ page_canonical_url }}"> + {%- endif %} + <script>DOCUMENTATION_OPTIONS.URL_ROOT = '{{ url_root }}';</script> + {{ super() }} +{%- endblock %} + +{% block sidebarlogo %} + {% if pagename != "index" or theme_index_sidebar_logo %} + {{ super() }} + {% endif %} +{% endblock %} + +{% block relbar2 %}{% endblock %} + +{% block sidebar2 %} + <span id="sidebar-top"></span> + {{- super() }} +{%- endblock %} + +{% block footer %} + {{ super() }} + {%- if READTHEDOCS and not readthedocs_docsearch %} + <script> + if (typeof READTHEDOCS_DATA !== 'undefined') { + if (!READTHEDOCS_DATA.features) { + READTHEDOCS_DATA.features = {}; + } + READTHEDOCS_DATA.features.docsearch_disabled = true; + } + </script> + {%- endif %} + {{ js_tag("_static/version_warning_offset.js") }} +{% endblock %} |