Changes to fix docs

This commit is contained in:
Jamie Hardt
2024-11-25 10:48:58 -08:00
parent b8617a35e2
commit c6f66b2d6e
3 changed files with 8 additions and 7 deletions

View File

@@ -12,24 +12,25 @@
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
import importlib
import os import os
import sys import sys
sys.path.insert(0, os.path.abspath('../..')) sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath("../../..")) sys.path.insert(0, os.path.abspath("../../.."))
print(sys.path) print(sys.path)
import wavinfo import importlib
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = u'wavinfo' project = u'wavinfo'
copyright = u'2018-2023, Jamie Hardt' copyright = u'2018-2024, Jamie Hardt'
author = u'Jamie Hardt' author = u'Jamie Hardt'
# The short X.Y version # The short X.Y version
version = wavinfo.__short_version__ version = "3.1"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = wavinfo.__version__ release = importlib.metadata.version("wavinfo")
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View File

@@ -48,8 +48,8 @@ wavinfo = 'wavinfo.__main__:main'
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8" python = "^3.8"
lxml = "~= 5.3.0" lxml = "~= 5.3.0"
sphinx_rtd_theme = {version= '>= 1.1.1', optional=true, extras=['doc']} sphinx_rtd_theme = {version= '>= 1.1.1', optional=true}
sphinx = {version= '>= 5.3.0', optional=true, extras=['doc']} sphinx = {version= '>= 5.3.0', optional=true}
[tool.pyright] [tool.pyright]
typeCheckingMode = "basic" typeCheckingMode = "basic"