diff --git a/.readthedocs.yml b/.readthedocs.yml index f12acc8..1d2c166 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,10 @@ build: os: ubuntu-22.04 tools: python: "3.11" + jobs: + post_install: + - pip install --upgrade pdm + - VIRTUAL_ENV=$(dirname $(dirname $(which python))) pdm install -dG docs # Build documentation in the docs/ directory with Sphinx sphinx: @@ -18,8 +22,3 @@ sphinx: # Optionally build your docs in additional formats such as PDF formats: - pdf - -python: - install: - - requirements: docs/requirements.txt - - {path: ., method: pip} diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index c226348..0000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -myst_parser>=3.0.1 -pydata_sphinx_theme>=0.15.4 -# Requirements file for ReadTheDocs, check .readthedocs.yml. -# To build the module reference correctly, make sure every external package -# under `install_requires` in `setup.cfg` is also listed here! -sphinx>=7.3.7 -sphinx_design>=0.6.0 diff --git a/pyproject.toml b/pyproject.toml index eba54e5..809e9fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,16 +40,10 @@ requires-python = ">=3.10" [project.optional-dependencies] docs = [ - "sphinx>=5.3.0", - "sphinx_copybutton==0.5.0", - "sphinx_toggleprompt==0.2.0", - "myst_nb==0.16.0", - "sphinx_design==0.3", - "pydata-sphinx-theme==0.13.3", - "sphinx_simplepdf", - "numpydoc>=1.6.0", - "sphinxcontrib.bibtex", - "nbsphinx" + "myst_parser>=3.0.1", + "pydata_sphinx_theme>=0.15.4", + "sphinx>=7.3.7", + "sphinx_design>=0.6.0" ] testing = [ "pytest",