Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b02e3d6

Browse files
authored
Merge pull request #22723 from meeseeksmachine/auto-backport-of-pr-22716-on-v3.5.x
Backport PR #22716 on branch v3.5.x (DOC: set canonical)
2 parents 54b17aa + bb6a9de commit b02e3d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,9 @@ def matplotlib_reduced_latex_scraper(block, block_vars, gallery_conf,
335335
# default is ``".html"``.
336336
html_file_suffix = '.html'
337337

338+
# this makes this the canonical link for all the pages on the site...
339+
html_baseurl = 'https://matplotlib.org/stable/'
340+
338341
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
339342
# using the given strftime format.
340343
html_last_updated_fmt = '%b %d, %Y'

0 commit comments

Comments
 (0)