Skip to content

Commit

Permalink
Install docs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Sep 11, 2024
1 parent 9ae6c65 commit 3e1e54e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ build:
os: ubuntu-lts-latest
tools:
python: latest
jobs:
post_create_environment:
- pip install .[docs]

sphinx:
configuration: docs/conf.py
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dynamic = ["version"] # Version is read from platypus/__init__.py

[project.optional-dependencies]
test = ["pytest", "mock", "flake8", "flake8-pyproject", "numpy"]
doc = ["sphinx", "sphinx-rtd-theme"]
docs = ["sphinx", "sphinx-rtd-theme"]
full = ["mpi4py", "matplotlib", "Platypus-Opt[test]", "Platypus-Opt[doc]"]

[tool.setuptools.dynamic]
Expand Down

0 comments on commit 3e1e54e

Please sign in to comment.