Skip to content

Commit

Permalink
use pdm in rtd
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Barrachina Civera <[email protected]>
  • Loading branch information
xbarra committed Jul 11, 2024
1 parent 2559af3 commit b3e8605
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 22 deletions.
9 changes: 4 additions & 5 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}
7 changes: 0 additions & 7 deletions docs/requirements.txt

This file was deleted.

14 changes: 4 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit b3e8605

Please sign in to comment.