-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from bhosale2/178_fix_readthedocs
fix: readthedocs.yaml for failing docs (#178)
- Loading branch information
Showing
1 changed file
with
15 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,21 @@ | ||
|
||
# .readthedocs.yaml | ||
version: 2 | ||
|
||
# Set the version of Python and other tools you might need | ||
build: | ||
os: "ubuntu-20.04" | ||
tools: | ||
python: "3.9" | ||
os: ubuntu-20.04 | ||
tools: {python: "3.10"} | ||
jobs: | ||
pre_create_environment: | ||
- asdf plugin add poetry | ||
- asdf install poetry latest | ||
- asdf global poetry latest | ||
- poetry config virtualenvs.create false # Key | ||
post_install: | ||
- poetry install -E docs | ||
|
||
# Build documentation in the docs/ directory with Sphinx | ||
sphinx: | ||
builder: html | ||
configuration: docs/conf.py | ||
|
||
python: | ||
install: | ||
- requirements: docs/requirements.txt | ||
#fail_on_warning: true |