Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3218077 commit 90c86ffCopy full SHA for 90c86ff
1 file changed
doc/_templates/layout.html
@@ -162,7 +162,11 @@ <h3>{{ _('Navigation') }}</h3>
162
{%- endif %}
163
{%- endblock %}
164
{%- block extrahead %}
165
- <link rel="canonical" href="https://matplotlib.org/{{pagename}}.html" />
+{%- if '+' in release %}
166
+ <link rel="canonical" href="https://matplotlib.org/devdocs/{{pagename}}.html" />
167
+{%- else %}
168
+ <link rel="canonical" href="https://matplotlib.org/{{version}}/{{pagename}}.html" />
169
+{%- endif %}
170
{% endblock %}
171
172
0 commit comments