Skip to content

Commit

Permalink
DOC swap version and release text
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Dec 24, 2021
1 parent fa300ef commit f7e8a12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,12 @@
author = punx.__author__

versioneer_version = punx.__version__.split("+")
version = versioneer_version[0]
# The full version, including alpha/beta/rc tags.
# release = punx.__release__
# release = version
release = versioneer_version[0]
if len(versioneer_version) == 2:
release = versioneer_version[1]
# additional details (if available)
version = versioneer_version[1]
else:
release = ""
version = ""

# -- General configuration ---------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ NOTE: project is under initial construction
:PyPI: https://pypi.python.org/pypi/punx
:TODO list: https://github.com/prjemian/punx/issues

:version: |version|
:release: |release|
:version: |version|
:published: |today|

Use these steps to :ref:`install <install>` and try the :ref:`demo <demo>`:
Expand Down

0 comments on commit f7e8a12

Please sign in to comment.