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 d1fc69e commit 58d37bdCopy full SHA for 58d37bd
docs/conf.py
@@ -5,6 +5,7 @@
5
import sys
6
from importlib.metadata import version as _retrieve_metadata_version_for
7
from pathlib import Path
8
+from tomllib import loads as _parse_toml
9
10
11
# -- Path setup --------------------------------------------------------------
@@ -33,7 +34,9 @@
33
34
sys.path.insert(0, str(DOCS_ROOT_DIR / '_ext'))
35
36
-project = 'awx_plugins.interfaces'
37
+project = _parse_toml(
38
+ (PROJECT_ROOT_DIR / 'pyproject.toml').read_text(),
39
+)['project']['name']
40
author = 'Ansible maintainers and contributors'
41
copyright = author # pylint: disable=redefined-builtin
42
0 commit comments