Browse Source

docs: fix pyTermTk version in the docs

pull/480/head
Parodi, Eugenio 🌶 4 months ago
parent
commit
d0f67bef4c
  1. 8
      docs/source/conf.py

8
docs/source/conf.py

@ -11,7 +11,7 @@ import sys
sys.path.insert(0, os.path.abspath('../../libs/pyTermTk'))
sys.path.insert(0, os.path.abspath('sphinx_modules'))
import TermTk
import TermTk as ttk
# -- Project information -----------------------------------------------------
@ -20,11 +20,7 @@ copyright = '2021, Eugenio Parodi'
author = 'Eugenio Parodi'
# The full version, including alpha/beta/rc tags
if os.path.exists(versionFile:=os.path.join(os.path.dirname(os.path.abspath(__file__)),'../../tmp/docversion.txt')):
with open(versionFile) as f:
release = f.read()
else:
release = 'X.XX.X-a'
release = ttk.__version__
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

Loading…
Cancel
Save