Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
ENH: Remove unnecessary docs/requirements.txt
Browse files Browse the repository at this point in the history
Remove unnecessary `docs/requirements.txt`: documentation dependencies
are listed in the `[doc]` section of the `pyproject.toml` file.

Use the `pip install .[doc]` command to install the package
dependencies, including the documentation packages, in the GitHub
workflow files.
  • Loading branch information
jhlegarreta committed Mar 21, 2024
1 parent 62a213a commit a5e8650
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U build hatch pip
pip install -r docs/requirements.txt
pip install .[doc]
python -m hatch version | tail -n1
- name: Build docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Install dependencies
run: |
pip install -U build hatch pip
pip install -r docs/requirements.txt
pip install .[doc]
python -m hatch version | tail -n1
- name: Build docs
Expand Down
7 changes: 0 additions & 7 deletions docs/requirements.txt

This file was deleted.

0 comments on commit a5e8650

Please sign in to comment.