From 24b767339fcef1c843f7dd3188900adab05e03b1 Mon Sep 17 00:00:00 2001 From: Micael Jarniac Date: Wed, 12 Oct 2022 14:05:56 -0300 Subject: [PATCH] docs: fix code blocks (#506) 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 e7aa0534..2cf75c10 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__"