Skip to content

Commit

Permalink
docs: install package in ReadTheDocs build (#3032)
Browse files Browse the repository at this point in the history
Need to install ourselves so that we can introspect on version
using `setuptools_scm` in `docs/conf.py`.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
  • Loading branch information
milas authored Aug 18, 2022
1 parent e901eac commit 2494d63
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ sphinx:
configuration: docs/conf.py

build:
os: ubuntu-20.04
tools:
python: '3.10'
os: ubuntu-20.04
tools:
python: '3.10'

python:
install:
- requirements: docs-requirements.txt
- requirements: requirements.txt
- method: pip
path: .
extra_requirements:
- ssh

0 comments on commit 2494d63

Please sign in to comment.