Skip to content

Commit c6f66b2

Browse files
committed
Changes to fix docs
1 parent b8617a3 commit c6f66b2

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

docs/source/conf.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,25 @@
1212
# add these directories to sys.path here. If the directory is relative to the
1313
# documentation root, use os.path.abspath to make it absolute, like shown here.
1414
#
15+
import importlib
1516
import os
1617
import sys
1718
sys.path.insert(0, os.path.abspath('../..'))
1819
sys.path.insert(0, os.path.abspath("../../.."))
1920
print(sys.path)
2021

21-
import wavinfo
22+
import importlib
2223

2324
# -- Project information -----------------------------------------------------
2425

2526
project = u'wavinfo'
26-
copyright = u'2018-2023, Jamie Hardt'
27+
copyright = u'2018-2024, Jamie Hardt'
2728
author = u'Jamie Hardt'
2829

2930
# The short X.Y version
30-
version = wavinfo.__short_version__
31+
version = "3.1"
3132
# The full version, including alpha/beta/rc tags
32-
release = wavinfo.__version__
33+
release = importlib.metadata.version("wavinfo")
3334

3435

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

docs/source/references.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ iXML
3939
Sampler Metadata
4040
----------------
4141

42-
* `RecordingBlogs.com — Sample chunk (of a Wave file)<https://www.recordingblogs.com/wiki/sample-chunk-of-a-wave-file>`_
42+
* `RecordingBlogs.com — Sample chunk (of a Wave file) <https://www.recordingblogs.com/wiki/sample-chunk-of-a-wave-file>`_
4343

4444
RIFF Metadata
4545
-------------

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ wavinfo = 'wavinfo.__main__:main'
4848
[tool.poetry.dependencies]
4949
python = "^3.8"
5050
lxml = "~= 5.3.0"
51-
sphinx_rtd_theme = {version= '>= 1.1.1', optional=true, extras=['doc']}
52-
sphinx = {version= '>= 5.3.0', optional=true, extras=['doc']}
51+
sphinx_rtd_theme = {version= '>= 1.1.1', optional=true}
52+
sphinx = {version= '>= 5.3.0', optional=true}
5353

5454
[tool.pyright]
5555
typeCheckingMode = "basic"

0 commit comments

Comments
 (0)