1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Index: python-xrayutilities/doc/source/conf.py
===================================================================
--- python-xrayutilities.orig/doc/source/conf.py 2025-11-17 21:45:18.392604061 +0100
+++ python-xrayutilities/doc/source/conf.py 2025-11-17 21:45:48.503472430 +0100
@@ -16,22 +16,22 @@
from pathlib import Path
import sphinx_rtd_theme
-from sphinx_pyproject import SphinxConfig
+#from sphinx_pyproject import SphinxConfig
from xrayutilities import __version__ as xu_version
# Load configuration from pyproject.toml
-config = SphinxConfig(
- Path(__file__).parent.parent.parent / "pyproject.toml",
- config_overrides = {"version": xu_version},
-)
+#config = SphinxConfig(
+# Path(__file__).parent.parent.parent / "pyproject.toml",
+# config_overrides = {"version": xu_version},
+#)
# Project information (auto-extracted from pyproject.toml)
-project = config.name # Automatically gets the project name
-author = config.author # Automatically gets the author(s)
-copyright = f"%Y, {config.author}"
-release = config.version # Full version (e.g., "1.2.3")
-version = config.version.split(".")[0] + "." + config.version.split(".")[1] # Short version (e.g., "1.2")
+#project = config.name # Automatically gets the project name
+#author = config.author # Automatically gets the author(s)
+#copyright = f"%Y, {config.author}"
+#release = config.version # Full version (e.g., "1.2.3")
+#version = config.version.split(".")[0] + "." + config.version.split(".")[1] # Short version (e.g., "1.2")
# Add any Sphinx extension module names here, as strings. They can be
# extensions
|