diff --git a/docs/conf.py b/docs/conf.py deleted file mode 100644 index f0d238c..0000000 --- a/docs/conf.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Configuration file for the Sphinx documentation builder. -For the full list of built-in configuration values, see the documentation: -https://www.sphinx-doc.org/en/master/usage/configuration.html -""" -import os -import sys -import versioningit - -sys.path.insert(0, os.path.abspath("../reduction")) - -# -- Project information ----------------------------------------------------- -# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information - -project = "lr_reduction" -copyright = "2025, ORNL" # noqa A001 -author = "ORNL" -version = versioningit.get_version("../") -# The full version, including alpha/beta/rc tags -release = "source/".join(version.split("source/")[:-1]) - -# -- General configuration --------------------------------------------------- -# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration - -extensions = [ - "sphinx.ext.duration", - "sphinx.ext.doctest", - "sphinx.ext.autodoc", - "sphinx.ext.autosummary", - "sphinx.ext.intersphinx", - "sphinx.ext.viewcode", - "sphinx.ext.coverage", - "sphinx.ext.mathjax", - "sphinx.ext.napoleon", - "myst_parser" -] - -autodoc_mock_imports = [ - "mantid", - "mantid.api", - "mantid.api.Workspace", - "mantid.kernel", - "mantid.utils", - "mantid.utils.logging", - "mantid.simpleapi", - "mantid.geometry", - "mantidqt.widgets", - "mantidqt.widgets.algorithmprogress", - "qtpy", - "qtpy.uic", - "qtpy.QtWidgets", - "mantidqt", - "mantid.plots", - "mantid.plots.plotfunctions", - "mantid.plots.datafunctions", - "mantid.plots.utility", - "numpy,ndarray" -] - -master_doc = "index" - -intersphinx_mapping = { - "python": ("https://docs.python.org/3/", None), - "sphinx": ("https://www.sphinx-doc.org/en/master/", None), -} -intersphinx_disabled_domains = ["std"] - -templates_path = ["_templates"] -exclude_patterns = ["_build"] -pygments_style = "sphinx" - - -# -- Options for HTML output ------------------------------------------------- -# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output - -html_theme = "sphinx_rtd_theme" # pylint: disable=C0103 - -html_theme_options = {"style_nav_header_background": "#472375"} - -epub_show_urls = "footnote" # pylint: disable=C0103