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.
2 parents d7cb2fc + ad2d101 commit 3b94a1aCopy full SHA for 3b94a1a
2 files changed
.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
@@ -31,8 +31,6 @@
31
32
# For our local_customization module
33
sys.path.insert(0, os.path.abspath("."))
34
-# For trio itself
35
-sys.path.insert(0, os.path.abspath("../../src"))
36
37
# Enable reloading with `typing.TYPE_CHECKING` being True
38
os.environ["SPHINX_AUTODOC_RELOAD_MODULES"] = "1"
@@ -315,9 +313,9 @@ def add_mapping(
315
313
# built documents.
316
314
#
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