Skip to content

Commit 5d10544

Browse files
committed
move pip dependencies to requirements.txt
1 parent f73ed7e commit 5d10544

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/deployment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
19-
pip install mkdocs mkdocs-material pygments pymdown-extensions
19+
pip install -U -r requirements.txt
2020
- name: Build mkdocs
2121
run: |
2222
mkdocs build --verbose -d build

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ To view your changes locally:
1414

1515
1. install [MkDocs](https://www.mkdocs.org/#installation) and the required extensions.
1616

17-
`pip install -U mkdocs mkdocs-material pygments pymdown-extensions`
17+
`pip install -U -r requirements.txt`
1818
2. run `mkdocs serve`

requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mkdocs
2+
mkdocs-material
3+
pygments
4+
pymdown-extensions

0 commit comments

Comments
 (0)