Fix rtd build

This commit is contained in:
Michael Panchenko 2023-12-05 13:23:18 +01:00
parent 0b67447541
commit 19e129d0cf
3 changed files with 4 additions and 40 deletions

View File

@ -11,13 +11,11 @@ build:
tools:
python: "3.11"
jobs:
post_install:
- poetry install --with dev
pre_build:
- pip install .
- poetry config virtualenvs.create false
# Generate the Sphinx configuration for this Jupyter Book, so it builds.
- "poetry run jupyter-book config sphinx docs/"
- poetry install --with dev
pre_install:
- poe run doc-generate-files
# Build documentation in the docs/ directory with Sphinx
sphinx:

35
poetry.lock generated
View File

@ -5000,25 +5000,6 @@ files = [
pygments = "*"
Sphinx = "*"
[[package]]
name = "sphinx-rtd-theme"
version = "1.3.0"
description = "Read the Docs theme for Sphinx"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
files = [
{file = "sphinx_rtd_theme-1.3.0-py2.py3-none-any.whl", hash = "sha256:46ddef89cc2416a81ecfbeaceab1881948c014b1b6e4450b815311a89fb977b0"},
{file = "sphinx_rtd_theme-1.3.0.tar.gz", hash = "sha256:590b030c7abb9cf038ec053b95e5380b5c70d61591eb0b552063fbe7c41f0931"},
]
[package.dependencies]
docutils = "<0.19"
sphinx = ">=1.6,<8"
sphinxcontrib-jquery = ">=4,<5"
[package.extras]
dev = ["bump2version", "sphinxcontrib-httpdomain", "transifex-client", "wheel"]
[[package]]
name = "sphinx-tabs"
version = "3.4.4"
@ -5182,20 +5163,6 @@ Sphinx = ">=5"
lint = ["docutils-stubs", "flake8", "mypy"]
test = ["html5lib", "pytest"]
[[package]]
name = "sphinxcontrib-jquery"
version = "4.1"
description = "Extension to include jQuery on newer Sphinx releases"
optional = false
python-versions = ">=2.7"
files = [
{file = "sphinxcontrib-jquery-4.1.tar.gz", hash = "sha256:1620739f04e36a2c779f1a131a2dfd49b2fd07351bf1968ced074365933abc7a"},
{file = "sphinxcontrib_jquery-4.1-py2.py3-none-any.whl", hash = "sha256:f936030d7d0147dd026a4f2b5a57343d233f1fc7b363f68b3d4f1cb0993878ae"},
]
[package.dependencies]
Sphinx = ">=1.8"
[[package]]
name = "sphinxcontrib-jsmath"
version = "1.0.1"
@ -5902,4 +5869,4 @@ pybullet = ["pybullet"]
[metadata]
lock-version = "2.0"
python-versions = "^3.11"
content-hash = "412595e399937cd4d7dbb400cdaf40e9e980c962101643b3325a7a4d5864af38"
content-hash = "e5d2151b881b6c2d11f44b362555c763911060145d47a01ac1fa8f95ef78d73b"

View File

@ -85,7 +85,6 @@ ruff = "^0.0.285"
scipy = "*"
sphinx = "<7"
sphinx-toolbox = "^3.5.0"
sphinx_rtd_theme = "*"
sphinxcontrib-bibtex = "*"
sphinxcontrib-spelling = "^8.0.0"
wandb = "^0.12.0"