Skip to content

Commit f2403f6

Browse files
authored
chore: isolate dependencies for building documentation (#107)
Signed-off-by: Paul Horton <[email protected]>
1 parent 6553dbf commit f2403f6

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,11 @@ jobs:
2121
with:
2222
python-version: 3.9
2323
architecture: 'x64'
24-
- name: Install poetry
25-
# see https://github.com/marketplace/actions/setup-poetry
26-
uses: Gr1N/setup-poetry@v7
27-
with:
28-
poetry-version: 1.1.11
29-
- uses: actions/cache@v2
30-
with:
31-
path: ~/.cache/pypoetry/virtualenvs
32-
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}
3324
- name: Install dependencies
34-
run: poetry install
35-
25+
run: pip install -r doc/requirements.txt
3626
- name: Build documentation
3727
run: |
38-
poetry run pdoc --template-dir doc/templates --html cyclonedx
28+
pdoc --template-dir doc/templates --html cyclonedx
3929
- name: Deploy documentation
4030
uses: JamesIves/[email protected]
4131
with:

doc/requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
importlib-metadata==4.10.0
2+
Mako==1.1.6
3+
Markdown==3.3.6
4+
MarkupSafe==2.0.1
5+
pdoc3==0.10.0
6+
zipp==3.6.0
7+
packageurl-python>=0.9
8+
toml>=0.10.0

0 commit comments

Comments
 (0)