diff --git a/docs/conf.py b/docs/conf.py index 3b104c8..5d15251 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,6 +1,5 @@ from __future__ import annotations -from sphinx_api_relink.helpers import get_execution_mode from sphinx_api_relink.linkcode import ( _get_commit_sha, # pyright:ignore[reportPrivateUsage] ) @@ -35,7 +34,6 @@ "sphinx_copybutton", "sphinx_design", "sphinx_pybtex_etal_style", - "sphinx_thebe", "sphinx_togglebutton", "sphinxcontrib.bibtex", ] @@ -51,13 +49,6 @@ html_sourcelink_suffix = "" html_theme = "sphinx_book_theme" html_theme_options = { - "launch_buttons": { - "binderhub_url": "https://mybinder.org", - "colab_url": "https://colab.research.google.com", - "notebook_interface": "jupyterlab", - "thebe": True, - "thebelab": True, - }, "path_to_docs": "docs", "repository_url": f"https://github.com/redeboer/{REPO_NAME}", "repository_branch": BRANCH, @@ -97,18 +88,11 @@ "smartquotes", ] myst_update_mathjax = False -nb_execution_mode = get_execution_mode() -nb_execution_timeout = -1 -nb_output_stderr = "remove" nitpicky = True # warn if cross-references are missing panels_add_bootstrap_css = False # remove panels css to get wider main content primary_domain = "py" project = "BESIII Offline Software System" pygments_style = "sphinx" -thebe_config = { - "repository_url": html_theme_options["repository_url"], - "repository_branch": html_theme_options["repository_branch"], -} todo_include_todos = True suppress_warnings = [ "myst.domains", diff --git a/pyproject.toml b/pyproject.toml index 12272c2..4d32e67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,6 @@ doc = [ "sphinx-copybutton", "sphinx-design", "sphinx-pybtex-etal-style", - "sphinx-thebe", "sphinx-togglebutton", "sphinxcontrib-bibtex >=2", ] diff --git a/uv.lock b/uv.lock index 48d5c66..b42e564 100644 --- a/uv.lock +++ b/uv.lock @@ -103,7 +103,6 @@ dev = [ { name = "sphinx-copybutton" }, { name = "sphinx-design" }, { name = "sphinx-pybtex-etal-style" }, - { name = "sphinx-thebe" }, { name = "sphinx-togglebutton" }, { name = "sphinxcontrib-bibtex" }, ] @@ -116,7 +115,6 @@ doc = [ { name = "sphinx-copybutton" }, { name = "sphinx-design" }, { name = "sphinx-pybtex-etal-style" }, - { name = "sphinx-thebe" }, { name = "sphinx-togglebutton" }, { name = "sphinxcontrib-bibtex" }, ] @@ -138,7 +136,6 @@ dev = [ { name = "sphinx-copybutton" }, { name = "sphinx-design" }, { name = "sphinx-pybtex-etal-style" }, - { name = "sphinx-thebe" }, { name = "sphinx-togglebutton" }, { name = "sphinxcontrib-bibtex", specifier = ">=2" }, ] @@ -151,7 +148,6 @@ doc = [ { name = "sphinx-copybutton" }, { name = "sphinx-design" }, { name = "sphinx-pybtex-etal-style" }, - { name = "sphinx-thebe" }, { name = "sphinx-togglebutton" }, { name = "sphinxcontrib-bibtex", specifier = ">=2" }, ] @@ -1202,18 +1198,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2a/ec/eeea4ddb4d5e5610f7c991506a8e61db717a6d8cd38b86c040fc703d5aca/sphinx_pybtex_etal_style-0.0.2-py3-none-any.whl", hash = "sha256:a3d4bce1334ed85f54a303726fa3031e1083cf7760f1dd89a1ac598a7557d87f", size = 5761 }, ] -[[package]] -name = "sphinx-thebe" -version = "0.3.1" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "sphinx" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/da/fd/926ba4af1eb2708b1ac0fa4376e4bfb11d9a32b2a00e3614137a569c1ddf/sphinx_thebe-0.3.1.tar.gz", hash = "sha256:576047f45560e82f64aa5f15200b1eb094dcfe1c5b8f531a8a65bd208e25a493", size = 20789 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/ca/7c/a53bdb465fd364bc3d255d96d5d70e6ba5183cfb4e45b8aa91c59b099124/sphinx_thebe-0.3.1-py3-none-any.whl", hash = "sha256:e7e7edee9f0d601c76bc70156c471e114939484b111dd8e74fe47ac88baffc52", size = 9030 }, -] - [[package]] name = "sphinx-togglebutton" version = "0.3.2"