Skip to content

Commit

Permalink
Just use stable reference
Browse files Browse the repository at this point in the history
  • Loading branch information
c0fec0de committed Nov 16, 2023
1 parent 04fe81d commit 7fe1fe5
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,9 @@ poetry version patch
# Commit, Tag and Push
version=$(poetry version -s)

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

git commit -m"version bump to ${version}" pyproject.toml README.rst docs/index.rst anytree/__init__.py
git commit -m"version bump to ${version}" pyproject.toml anytree/__init__.py
git tag "${version}" -m "Release ${version}"
git push
git push --tags
Expand Down
22 changes: 11 additions & 11 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
.. image:: https://coveralls.io/repos/github/c0fec0de/anytree/badge.svg
:target: https://coveralls.io/github/c0fec0de/anytree

.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.12.0
:target: https://anytree.readthedocs.io/en/2.12.0/?badge=2.12.0
.. image:: https://readthedocs.org/projects/anytree/badge/?version=stable
:target: https://anytree.readthedocs.io/en/stable

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

.. _anytree: https://anytree.readthedocs.io/en/2.12.0/
.. _Documentation: https://anytree.readthedocs.io/en/2.12.0/
.. _PyPI: https://pypi.org/project/anytree/2.12.0/
.. _anytree: https://anytree.readthedocs.io/en/stable/
.. _Documentation: https://anytree.readthedocs.io/en/stable/
.. _PyPI: https://pypi.org/project/anytree/stable/
.. _GitHub: https://github.com/c0fec0de/anytree
.. _Changelog: https://github.com/c0fec0de/anytree/releases
.. _Issues: https://github.com/c0fec0de/anytree/issues
.. _Contributors: https://github.com/c0fec0de/anytree/graphs/contributors

.. _Node: https://anytree.readthedocs.io/en/2.12.0/api/anytree.node.html#anytree.node.node.Node
.. _RenderTree: https://anytree.readthedocs.io/en/2.12.0/api/anytree.render.html#anytree.render.RenderTree
.. _UniqueDotExporter: https://anytree.readthedocs.io/en/2.12.0/exporter/dotexporter.html#anytree.exporter.dotexporter.UniqueDotExporter
.. _NodeMixin: https://anytree.readthedocs.io/en/2.12.0/api/anytree.node.html#anytree.node.nodemixin.NodeMixin
.. _Importers: https://anytree.readthedocs.io/en/2.12.0/importer.html
.. _Exporters: https://anytree.readthedocs.io/en/2.12.0/exporter.html
.. _Node: https://anytree.readthedocs.io/en/stable/api/anytree.node.html#anytree.node.node.Node
.. _RenderTree: https://anytree.readthedocs.io/en/stable/api/anytree.render.html#anytree.render.RenderTree
.. _UniqueDotExporter: https://anytree.readthedocs.io/en/stable/exporter/dotexporter.html#anytree.exporter.dotexporter.UniqueDotExporter
.. _NodeMixin: https://anytree.readthedocs.io/en/stable/api/anytree.node.html#anytree.node.nodemixin.NodeMixin
.. _Importers: https://anytree.readthedocs.io/en/stable/importer.html
.. _Exporters: https://anytree.readthedocs.io/en/stable/exporter.html

Getting started
---------------
Expand Down
2 changes: 1 addition & 1 deletion anytree/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__version__ = "2.12.0"
__author__ = "c0fec0de"
__author_email__ = "[email protected]"
__description__ = """Powerful and Lightweight Python Tree Data Structure.."""
__description__ = """Powerful and Lightweight Python Tree Data Structure."""
__url__ = "https://github.com/c0fec0de/anytree"

from . import cachedsearch # noqa
Expand Down
10 changes: 5 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Any Python Tree Data
.. image:: https://coveralls.io/repos/github/c0fec0de/anytree/badge.svg
:target: https://coveralls.io/github/c0fec0de/anytree

.. image:: https://readthedocs.org/projects/anytree/badge/?version=2.12.0
:target: https://anytree.readthedocs.io/en/2.12.0/?badge=2.12.0
.. image:: https://readthedocs.org/projects/anytree/badge/?version=stable
:target: https://anytree.readthedocs.io/en/stable/

.. image:: https://api.codeclimate.com/v1/badges/e6d325d6fd23a93aab20/maintainability
:target: https://codeclimate.com/github/c0fec0de/anytree/maintainability
Expand Down Expand Up @@ -82,10 +82,10 @@ Links

Feel free to share_ info about your anytree project.

.. _anytree: https://anytree.readthedocs.io/en/2.12.0/
.. _Documentation: https://anytree.readthedocs.io/en/2.12.0/
.. _anytree: https://anytree.readthedocs.io/en/stable/
.. _Documentation: https://anytree.readthedocs.io/en/stable/
.. _GitHub: https://github.com/c0fec0de/anytree
.. _PyPI: https://pypi.org/project/anytree/2.12.0/
.. _PyPI: https://pypi.org/project/anytree/stable/
.. _Changelog: https://github.com/c0fec0de/anytree/releases
.. _Issues: https://github.com/c0fec0de/anytree/issues
.. _Contributors: https://github.com/c0fec0de/anytree/graphs/contributors
Expand Down

0 comments on commit 7fe1fe5

Please sign in to comment.