Skip to content

Commit 87327ce

Browse files
authored
[docs] Install project in yaml instead of reqs (#1332)
Context: bd26f19 This (refactor, technically) was motivated by fixing a Dependabot error that prevented it from creating new dependency PRs. Error message: > **Dependabot couldn't fetch all your path-based dependencies** > The affected dependencies were `"-e ." at /requirements/docs.txt`. > > To use path-based dependencies with Dependabot the paths must be relative, resolve to a directory in this project's source code, and contain a valid Python project. (From https://github.com/jazzband/django-simple-history/network/updates/827989501.) Evidence that RTD still builds successfully: https://readthedocs.org/projects/ddabble-django-simple-history/builds/24379182/
1 parent bf58d58 commit 87327ce

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.readthedocs.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ sphinx:
2121
python:
2222
install:
2323
- requirements: requirements/docs.txt
24+
# Install this project locally, so that its package metadata can be queried
25+
- method: pip
26+
path: .

requirements/docs.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
# Install this project in editable mode, so that its package metadata can be queried
2-
-e .
31
Sphinx==7.2.6
42
sphinx-rtd-theme==1.3.0

0 commit comments

Comments
 (0)