Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20e8c0d

Browse files
committed
DOC: make canonical version stable
DOC: update developer docs
1 parent6530db1 commit20e8c0d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

‎doc/_templates/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
{%- if '+' in release %}
1616
<linkrel="canonical"href="https://matplotlib.org/devdocs/{{pagename}}.html"/>
1717
{%- else %}
18-
<linkrel="canonical"href="https://matplotlib.org/{{version}}/{{pagename}}.html"/>
18+
<linkrel="canonical"href="https://matplotlib.org/stable/{{pagename}}.html"/>
1919
{%- endif %}
2020
{%- endblock %}
2121

‎doc/devel/release_guide.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff 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

350352
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 ::
352355

353356
git add *
354357
git commit -a -m 'Updating docs for v2.0.0'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp