Skip to content

Commit

Permalink
Fix RTD config. (#250)
Browse files Browse the repository at this point in the history
* Fix RTD config.

They have moved on:
  https://blog.readthedocs.com/migrate-configuration-v2/

* Add sphinx extenstion for click.

* Use the extra_requirements feature as intended.
  • Loading branch information
jsirois authored Feb 5, 2024
1 parent a0cb71d commit 3ccca9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
build:
image: latest
os: ubuntu-22.04
tools:
python: "3.11"

python:
version: 3.6
pip_install: true
install:
- method: pip
path: .
extra_requirements:
- rtd
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ install_requires =
python_requires = >=3.6
include_package_data = True

[options.extras_require]
rtd =
sphinx-click

[options.packages.find]
where=src

Expand Down

0 comments on commit 3ccca9e

Please sign in to comment.