From 5dab9e45214dd8de103d0dbc9103ab83900cd2a7 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Wed, 12 Oct 2022 11:05:58 -0300 Subject: [PATCH] docs: fix code blocks Previously: https://i.imgur.com/XWFhG7a.png --- docs/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index e7aa0534d..2cf75c102 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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__"