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 <kd8mbd@gmail.com>
Last-Update: 2024-02-23

--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,6 +15,7 @@ copyright = '2019-2023, Johnnie Gray'
 author = 'Johnnie Gray'
 
 try:
+    sys.path.append(os.path.abspath("../"))
     from autoray import __version__
     release = __version__
 except ImportError:
@@ -28,7 +29,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',
@@ -37,16 +37,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']
 
