File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1515{%- if '+' in release %}
1616 < link rel ="canonical " href ="https://matplotlib.org/devdocs/{{pagename}}.html " />
1717{%- else %}
18- < link rel ="canonical " href ="https://matplotlib.org/{{version}} /{{pagename}}.html " />
18+ < link rel ="canonical " href ="https://matplotlib.org/stable /{{pagename}}.html " />
1919{%- endif %}
2020{%- endblock %}
2121
Original file line number Diff line number Diff line change @@ -342,13 +342,16 @@ matplotlib ::
342342 rsync -a ../matplotlib/doc/build/html/* 2.0.0
343343 cp ../matplotlib/doc/build/latex/Matplotlib.pdf 2.0.0
344344
345- which will copy the built docs over. If this is a final release, also
346- replace the top-level docs ::
345+ which will copy the built docs over. If this is a final release, link the
346+ `` stable `` subdirectory to the newest version ::
347347
348348 rsync -a 2.0.0/* ./
349+ rm stable
350+ ln -s 2.0.0/ stable
349351
350352You will need to manually edit :file: `versions.html ` to show the last
351- 3 tagged versions. Now commit and push everything to GitHub ::
353+ 3 tagged versions. You will also need to edit :file: `sitemap.xml ` to include
354+ the newly released version. Now commit and push everything to GitHub ::
352355
353356 git add *
354357 git commit -a -m 'Updating docs for v2.0.0'
You can’t perform that action at this time.
0 commit comments