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 38 39 40 41 42
|
Description: Fix for doc files.
Fixed system path issue in conf.py + disabled myst_nb extension which
is not available in Debian.
Forwarded: not-needed
Author: Yogeswaran Umasankar <yogu@debian.org>
Last-Update: 2025-10-12
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,6 +17,7 @@ copyright = f"2019-{datetime.date.today(
author = "Johnnie Gray"
try:
+ sys.path.append(os.path.abspath("../"))
from autoray import __version__
release = __version__
@@ -32,7 +33,6 @@ except ImportError:
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [
- "myst_nb",
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"sphinx.ext.napoleon",
@@ -41,16 +41,6 @@ extensions = [
"autoapi.extension",
]
-nb_execution_mode = "off"
-myst_heading_anchors = 4
-myst_enable_extensions = [
- "amsmath",
- "colon_fence",
- "deflist",
- "dollarmath",
- "html_image",
-]
-
# sphinx-autoapi
autoapi_dirs = ["../autoray"]
|