Skip to content

Commit 2494d63

Browse files
authored
docs: install package in ReadTheDocs build (#3032)
Need to install ourselves so that we can introspect on version using `setuptools_scm` in `docs/conf.py`. Signed-off-by: Milas Bowman <[email protected]>
1 parent e901eac commit 2494d63

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.readthedocs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ sphinx:
44
configuration: docs/conf.py
55

66
build:
7-
os: ubuntu-20.04
8-
tools:
9-
python: '3.10'
7+
os: ubuntu-20.04
8+
tools:
9+
python: '3.10'
1010

1111
python:
1212
install:
1313
- requirements: docs-requirements.txt
14-
- requirements: requirements.txt
14+
- method: pip
15+
path: .
16+
extra_requirements:
17+
- ssh

0 commit comments

Comments
 (0)