summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilas Bowman <milas.bowman@docker.com>2022-08-18 17:03:32 -0400
committerGitHub <noreply@github.com>2022-08-18 17:03:32 -0400
commit2494d63f36eba0e1811f05e7b2136f8b30f7cdb7 (patch)
tree3bcd3853f60c15d744b9519f77bce8723ad47aa2
parente901eac7a8c5f29c7720eafb9f58c8356cca2324 (diff)
downloaddocker-py-2494d63f36eba0e1811f05e7b2136f8b30f7cdb7.tar.gz
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 <milas.bowman@docker.com>
-rw-r--r--.readthedocs.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.readthedocs.yml b/.readthedocs.yml
index 464c782..80000ee 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -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