-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update ReadTheDocs settings file #2083
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
version: 2 | ||
|
||
formats: | ||
- htmlzip | ||
|
||
# build with latest available ubuntu version | ||
build: | ||
os: ubuntu-20.04 | ||
os: ubuntu-lts-latest | ||
tools: | ||
python: "3.10" | ||
python: "3.12" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto, no reason to build on an old Py version |
||
apt_packages: | ||
- graphviz | ||
jobs: | ||
|
@@ -16,7 +17,14 @@ build: | |
- playwright install chromium | ||
- python ./docs/scripts/generate_gallery_images.py | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
Comment on lines
+20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this bit is now required, and our builds will start failing in January without it. |
||
# builder: "dirhtml" | ||
fail_on_warning: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is good practice but will probably not work for us, given the long list of "expected" warnings that our build produces. 🤔 maybe we should revisit how we handle that, e.g., using a |
||
|
||
python: | ||
install: | ||
- method: pip | ||
path: .[doc] | ||
path: . | ||
extra_requirements: | ||
- doc | ||
Comment on lines
+28
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this is the recommended way to do what we were doing before with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this just seems like common sense