Skip to content

Commit

Permalink
docs: fix code blocks (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicaelJarniac committed Oct 12, 2022
1 parent bffc81e commit 24b7673
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/index.rst
Expand Up @@ -28,14 +28,14 @@ your project, for example ``setup.py``::
)

Python Semantic Release is configured using ``setup.cfg`` or ``pyproject.toml``.
Set :ref:`config-version_variable` to the location of your version variable inside any Python file::
Set :ref:`config-version_variable` to the location of your version variable inside any Python file:

``setup.cfg``:
``setup.cfg``::

[semantic_release]
version_variable = setup.py:__version__

``pyproject.toml``:
``pyproject.toml``::

[tool.semantic_release]
version_variable = "setup.py:__version__"
Expand Down

0 comments on commit 24b7673

Please sign in to comment.