Skip to content

Commit

Permalink
.readthedocs.yaml and docs requirements
Browse files Browse the repository at this point in the history
Add .readthedocs.yaml to fix rtd-builds and add docs requirements
(replacing sphinx_requirements.txt) via extras section in setup.py.

This ignores our Jinja2 version fixation! Let's see if that works!
  • Loading branch information
JOJ0 committed Jan 24, 2024
1 parent a3736e3 commit 3a1afb6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/source/conf.py

python:
install:
- method: pip
path: .
extra_requirements:
- docs
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,11 @@
packages=[
'discogs_client',
],
)
extras_require={
"docs": [
"sphinx",
"sphinx-rtd-theme",
"myst-parser",
],
}
)

0 comments on commit 3a1afb6

Please sign in to comment.