We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed2a7d3 commit 1e7c145Copy full SHA for 1e7c145
.readthedocs.yml
@@ -13,6 +13,7 @@ build:
13
python:
14
install:
15
- requirements: docs-requirements.txt
16
+ - path: .
17
18
sphinx:
19
fail_on_warning: true
docs/source/conf.py
@@ -315,9 +315,9 @@ def add_mapping(
315
# built documents.
316
#
317
# The short X.Y version.
318
-import trio
+import importlib.metadata
319
320
-version = trio.__version__
+version = importlib.metadata.version("trio")
321
# The full version, including alpha/beta/rc tags.
322
release = version
323
0 commit comments