Skip to content

Commit 7fe1fe5

Browse files
committed
Just use stable reference
1 parent 04fe81d commit 7fe1fe5

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@ poetry version patch
5555
# Commit, Tag and Push
5656
version=$(poetry version -s)
5757

58-
sed "s/$prev_version/$version/g" -i README.rst
59-
sed "s/$prev_version/$version/g" -i docs/index.rst
6058
sed "s/$prev_version/$version/g" -i anytree/__init__.py
6159

62-
git commit -m"version bump to ${version}" pyproject.toml README.rst docs/index.rst anytree/__init__.py
60+
git commit -m"version bump to ${version}" pyproject.toml anytree/__init__.py
6361
git tag "${version}" -m "Release ${version}"
6462
git push
6563
git push --tags

README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
.. image:: https://coveralls.io/repos/github/c0fec0de/anytree/badge.svg
1111
:target: https://coveralls.io/github/c0fec0de/anytree
1212

13-
.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.12.0
14-
:target: https://anytree.readthedocs.io/en/2.12.0/?badge=2.12.0
13+
.. image:: https://readthedocs.org/projects/anytree/badge/?version=stable
14+
:target: https://anytree.readthedocs.io/en/stable
1515

1616
.. image:: https://api.codeclimate.com/v1/badges/e6d325d6fd23a93aab20/maintainability
1717
:target: https://codeclimate.com/github/c0fec0de/anytree/maintainability
@@ -59,20 +59,20 @@ Links
5959
.. image:: https://github.com/c0fec0de/anytree/raw/devel/docs/static/buymeacoffee.png
6060
:target: https://www.buymeacoffee.com/1oYX0sw
6161

62-
.. _anytree: https://anytree.readthedocs.io/en/2.12.0/
63-
.. _Documentation: https://anytree.readthedocs.io/en/2.12.0/
64-
.. _PyPI: https://pypi.org/project/anytree/2.12.0/
62+
.. _anytree: https://anytree.readthedocs.io/en/stable/
63+
.. _Documentation: https://anytree.readthedocs.io/en/stable/
64+
.. _PyPI: https://pypi.org/project/anytree/stable/
6565
.. _GitHub: https://github.com/c0fec0de/anytree
6666
.. _Changelog: https://github.com/c0fec0de/anytree/releases
6767
.. _Issues: https://github.com/c0fec0de/anytree/issues
6868
.. _Contributors: https://github.com/c0fec0de/anytree/graphs/contributors
6969

70-
.. _Node: https://anytree.readthedocs.io/en/2.12.0/api/anytree.node.html#anytree.node.node.Node
71-
.. _RenderTree: https://anytree.readthedocs.io/en/2.12.0/api/anytree.render.html#anytree.render.RenderTree
72-
.. _UniqueDotExporter: https://anytree.readthedocs.io/en/2.12.0/exporter/dotexporter.html#anytree.exporter.dotexporter.UniqueDotExporter
73-
.. _NodeMixin: https://anytree.readthedocs.io/en/2.12.0/api/anytree.node.html#anytree.node.nodemixin.NodeMixin
74-
.. _Importers: https://anytree.readthedocs.io/en/2.12.0/importer.html
75-
.. _Exporters: https://anytree.readthedocs.io/en/2.12.0/exporter.html
70+
.. _Node: https://anytree.readthedocs.io/en/stable/api/anytree.node.html#anytree.node.node.Node
71+
.. _RenderTree: https://anytree.readthedocs.io/en/stable/api/anytree.render.html#anytree.render.RenderTree
72+
.. _UniqueDotExporter: https://anytree.readthedocs.io/en/stable/exporter/dotexporter.html#anytree.exporter.dotexporter.UniqueDotExporter
73+
.. _NodeMixin: https://anytree.readthedocs.io/en/stable/api/anytree.node.html#anytree.node.nodemixin.NodeMixin
74+
.. _Importers: https://anytree.readthedocs.io/en/stable/importer.html
75+
.. _Exporters: https://anytree.readthedocs.io/en/stable/exporter.html
7676

7777
Getting started
7878
---------------

anytree/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__version__ = "2.12.0"
66
__author__ = "c0fec0de"
77
__author_email__ = "[email protected]"
8-
__description__ = """Powerful and Lightweight Python Tree Data Structure.."""
8+
__description__ = """Powerful and Lightweight Python Tree Data Structure."""
99
__url__ = "https://github.com/c0fec0de/anytree"
1010

1111
from . import cachedsearch # noqa

docs/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Any Python Tree Data
1414
.. image:: https://coveralls.io/repos/github/c0fec0de/anytree/badge.svg
1515
:target: https://coveralls.io/github/c0fec0de/anytree
1616

17-
.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.12.0
18-
:target: https://anytree.readthedocs.io/en/2.12.0/?badge=2.12.0
17+
.. image:: https://readthedocs.org/projects/anytree/badge/?version=stable
18+
:target: https://anytree.readthedocs.io/en/stable/
1919

2020
.. image:: https://api.codeclimate.com/v1/badges/e6d325d6fd23a93aab20/maintainability
2121
:target: https://codeclimate.com/github/c0fec0de/anytree/maintainability
@@ -82,10 +82,10 @@ Links
8282

8383
Feel free to share_ info about your anytree project.
8484

85-
.. _anytree: https://anytree.readthedocs.io/en/2.12.0/
86-
.. _Documentation: https://anytree.readthedocs.io/en/2.12.0/
85+
.. _anytree: https://anytree.readthedocs.io/en/stable/
86+
.. _Documentation: https://anytree.readthedocs.io/en/stable/
8787
.. _GitHub: https://github.com/c0fec0de/anytree
88-
.. _PyPI: https://pypi.org/project/anytree/2.12.0/
88+
.. _PyPI: https://pypi.org/project/anytree/stable/
8989
.. _Changelog: https://github.com/c0fec0de/anytree/releases
9090
.. _Issues: https://github.com/c0fec0de/anytree/issues
9191
.. _Contributors: https://github.com/c0fec0de/anytree/graphs/contributors

0 commit comments

Comments
 (0)