Skip to content

Commit

Permalink
[docs] Install project in yaml instead of reqs (#1332)
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
ddabble authored May 15, 2024
1 parent bf58d58 commit 87327ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ sphinx:
python:
install:
- requirements: requirements/docs.txt
# Install this project locally, so that its package metadata can be queried
- method: pip
path: .
2 changes: 0 additions & 2 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Install this project in editable mode, so that its package metadata can be queried
-e .
Sphinx==7.2.6
sphinx-rtd-theme==1.3.0

0 comments on commit 87327ce

Please sign in to comment.