Skip to content

Commit b6a31b9

Browse files
committed
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
1 parent ef62b86 commit b6a31b9

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

doc/en/_templates/layout.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{#
2+
3+
Copied from:
4+
5+
https://raw.githubusercontent.com/pallets/pallets-sphinx-themes/b0c6c41849b4e15cbf62cc1d95c05ef2b3e155c8/src/pallets_sphinx_themes/themes/pocoo/layout.html
6+
7+
And removed the warning version (see #7331).
8+
9+
#}
10+
11+
{% extends "basic/layout.html" %}
12+
13+
{% set metatags %}
14+
{{- metatags }}
15+
<meta name="viewport" content="width=device-width, initial-scale=1">
16+
{%- endset %}
17+
18+
{% block extrahead %}
19+
{%- if page_canonical_url %}
20+
<link rel="canonical" href="{{ page_canonical_url }}">
21+
{%- endif %}
22+
<script>DOCUMENTATION_OPTIONS.URL_ROOT = '{{ url_root }}';</script>
23+
{{ super() }}
24+
{%- endblock %}
25+
26+
{% block sidebarlogo %}
27+
{% if pagename != "index" or theme_index_sidebar_logo %}
28+
{{ super() }}
29+
{% endif %}
30+
{% endblock %}
31+
32+
{% block relbar2 %}{% endblock %}
33+
34+
{% block sidebar2 %}
35+
<span id="sidebar-top"></span>
36+
{{- super() }}
37+
{%- endblock %}
38+
39+
{% block footer %}
40+
{{ super() }}
41+
{%- if READTHEDOCS and not readthedocs_docsearch %}
42+
<script>
43+
if (typeof READTHEDOCS_DATA !== 'undefined') {
44+
if (!READTHEDOCS_DATA.features) {
45+
READTHEDOCS_DATA.features = {};
46+
}
47+
READTHEDOCS_DATA.features.docsearch_disabled = true;
48+
}
49+
</script>
50+
{%- endif %}
51+
{{ js_tag("_static/version_warning_offset.js") }}
52+
{% endblock %}

0 commit comments

Comments
 (0)