Skip to content

Commit 8b4e03e

Browse files
committed
DOC: add spin docs and fix minor local doc build issue [wheel build]
1 parent bccb9a7 commit 8b4e03e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

doc/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import jinja2.filters
1717
import numpy as np
1818

19+
import pywt
20+
1921
# FIXME: doctests need the str/repr formatting used in Numpy < 1.14.
2022
# Should this be removed or updated?
2123
try:
@@ -69,7 +71,7 @@
6971
# The default replacements for |version| and |release|, also used in various
7072
# other places throughout the built documents.
7173

72-
version = importlib.metadata.version('pywavelets')
74+
version = pywt.__version__
7375
release = version
7476

7577
print(f"PyWavelets (VERSION {version})")

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,4 @@ Environments = [
9494
'spin.cmds.meson.ipython',
9595
'spin.cmds.meson.python',
9696
]
97+
Documentation = ["spin.cmds.meson.docs"]

0 commit comments

Comments
 (0)