From 05578e251e10b4ef52d36fc3f661e2c76d931890 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Sat, 27 Apr 2024 19:18:42 -0400 Subject: [PATCH] docs: Use code blocks --- docs/release_process.rst | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/docs/release_process.rst b/docs/release_process.rst index 0a5365f..8e83016 100644 --- a/docs/release_process.rst +++ b/docs/release_process.rst @@ -13,8 +13,25 @@ Then: #. All tests pass on continuous integration #. The changelog is up-to-date and dated #. The version number is correct in: - * setup.py - * docs/conf.py -#. Check for new authors: ``git log --invert-grep --author='James McKinney'`` -#. Run ``python charts.py`` to update images in the documentation -#. Tag the release: ``git tag -a x.y.z -m 'x.y.z release.'; git push --follow-tags`` + + - setup.py + - docs/conf.py + +#. Check for new authors: + + .. code-block:: bash + + git log --perl-regexp --author='^((?!James McKinney).*)$' + +#. Update images in the documentation: + + .. code-block:: bash + + python charts.py + +#. Tag the release: + + .. code-block:: bash + + git tag -a x.y.z -m 'x.y.z release.' + git push --follow-tags