Skip to content

Commit

Permalink
Move documentation tools into separate extras. Request them for readt…
Browse files Browse the repository at this point in the history
…hedocs.
  • Loading branch information
fjankowsk committed Aug 6, 2023
1 parent 12de6e8 commit f7b3526
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@ sphinx:
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
# - requirements: docs/requirements.txt

python:
install:
- method: pip
path: .
extra_requirements:
- docs
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ def get_long_description():
"black",
"cibuildwheel",
"Cython >= 3.0.0",
"myst-parser",
"pytest",
"pytest-cov",
"sphinx",
"twine",
],
"docs": [
"myst-parser",
"sphinx",
],
},
ext_modules=[
Extension(
Expand Down

0 comments on commit f7b3526

Please sign in to comment.