automating the docs

This commit is contained in:
vinitha-balachandran
2024-03-01 15:51:03 +08:00
committed by Alessandro Candido
parent 6735f7482a
commit 72223c66ab
4 changed files with 54 additions and 8 deletions

View File

@@ -29,6 +29,17 @@ cuquantum-python-cu11 = { version = "^23.3.0", optional = true }
[tool.poetry.extras]
cuda = ["cupy", "cuquantum-python-cu11"]
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
Sphinx = "^5.0.0"
furo = "^2023.3.27"
sphinxcontrib-bibtex = "^2.4.1"
recommonmark = "^0.7.1"
sphinx_markdown_tables = "^0.0.17"
sphinx-copybutton = "^0.5.2"
[tool.poetry.group.dev.dependencies]
ipython = "^7.0.0"
@@ -50,6 +61,9 @@ pylint = "^3.0.3"
test = "pytest"
lint = "pylint src --errors-only"
lint-warnings = "pylint src --exit-zero"
docs = "make -C doc html"
docs-clean = "make -C doc clean"
test-docs = "make -C doc doctest"
[tool.pylint.main]
ignored-modules = ["cupy", "cuquantum", "mpi4py"]