build: Poetry lock, and drop some unused docs dependencies

This commit is contained in:
Alessandro Candido
2024-04-10 12:24:15 +02:00
parent 353ada4ec8
commit 51c260443c
3 changed files with 348 additions and 417 deletions

View File

@@ -11,7 +11,6 @@
#
from pathlib import Path
from recommonmark.transform import AutoStructify
from sphinx.ext import apidoc
import qibotn
@@ -45,7 +44,6 @@ extensions = [
"sphinx.ext.napoleon",
"sphinx.ext.intersphinx",
"sphinx_copybutton",
"recommonmark",
"sphinxcontrib.katex",
]
@@ -91,10 +89,6 @@ html_theme_options = {
],
}
# Adapted this from
# https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py
# app setup hook
autodoc_mock_imports = ["cupy", "cuquantum"]
@@ -107,8 +101,6 @@ def run_apidoc(_):
def setup(app):
app.add_config_value("recommonmark_config", {"enable_eval_rst": True}, True)
app.add_transform(AutoStructify)
app.add_css_file("css/style.css")
app.connect("builder-inited", run_apidoc)

751
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -34,11 +34,9 @@ cuda = ["cupy-cuda11x", "cuquantum-python-cu11", "mpi4py"]
optional = true
[tool.poetry.group.docs.dependencies]
Sphinx = "^5.0.0"
Sphinx = "^5.3.0"
furo = "^2023.3.27"
sphinxcontrib-bibtex = "^2.4.1"
recommonmark = "^0.7.1"
sphinx_markdown_tables = "^0.0.17"
sphinxcontrib-bibtex = "^2.5.0"
sphinx-copybutton = "^0.5.2"
sphinxcontrib-katex = "^0.9.9"
# to prevent Quimb warning