Skip to content

Commit

Permalink
Handle readthedocs not recognizing poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekjoshy committed Jan 21, 2022
1 parent c87e33f commit 6c816f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ sphinx:

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
version: 3.10
install:
- method: pip
path: .
extra_requirements:
- docs
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ bump2version = "^1.0.1"
black = "^21.11b1"
furo = "^2022.1.2"

[tool.poetry.extras]
docs = ["sphinx", "furo"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra --strict-markers --ignore=docs/conf.py --ignore=setup.py --ignore=ci --ignore=.eggs --doctest-modules --doctest-glob=/*.rst --tb=short"
Expand Down

0 comments on commit 6c816f9

Please sign in to comment.