-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Use Hatch for project management
- Loading branch information
Showing
6 changed files
with
232 additions
and
8,169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,12 @@ | ||
version: 2 | ||
|
||
# Adapted from: | ||
# - <https://docs.readthedocs.io/en/stable/build-customization.html#install-dependencies-with-poetry> | ||
# - <https://docs.readthedocs.io/en/stable/faq.html#how-can-i-deploy-jupyter-book-projects-on-read-the-docs> | ||
build: | ||
os: ubuntu-22.04 | ||
apt_packages: | ||
- graphviz | ||
- libsndfile1 | ||
tools: | ||
python: "3.11" | ||
jobs: | ||
post_create_environment: | ||
- pip install poetry | ||
- poetry config --local virtualenvs.create false | ||
post_install: | ||
- poetry install --all-extras --with docs | ||
pre_build: | ||
- jupyter-book config sphinx docs/ | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
fail_on_warning: false | ||
python: '3.11' | ||
commands: | ||
- pip install hatch | ||
- hatch run docs:build $READTHEDOCS_OUTPUT/html |
Oops, something went wrong.