File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 15
15
{%- if '+' in release %}
16
16
< link rel ="canonical " href ="https://matplotlib.org/devdocs/{{pagename}}.html " />
17
17
{%- else %}
18
- < link rel ="canonical " href ="https://matplotlib.org/{{version}} /{{pagename}}.html " />
18
+ < link rel ="canonical " href ="https://matplotlib.org/stable /{{pagename}}.html " />
19
19
{%- endif %}
20
20
{%- endblock %}
21
21
Original file line number Diff line number Diff line change @@ -342,13 +342,16 @@ matplotlib ::
342
342
rsync -a ../matplotlib/doc/build/html/* 2.0.0
343
343
cp ../matplotlib/doc/build/latex/Matplotlib.pdf 2.0.0
344
344
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 ::
347
347
348
348
rsync -a 2.0.0/* ./
349
+ rm stable
350
+ ln -s 2.0.0/ stable
349
351
350
352
You 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 ::
352
355
353
356
git add *
354
357
git commit -a -m 'Updating docs for v2.0.0'
You can’t perform that action at this time.
0 commit comments