diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6bb57fb4..b3f56675 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,21 +21,11 @@ jobs: with: python-version: 3.9 architecture: 'x64' - - name: Install poetry - # see https://github.com/marketplace/actions/setup-poetry - uses: Gr1N/setup-poetry@v7 - with: - poetry-version: 1.1.11 - - uses: actions/cache@v2 - with: - path: ~/.cache/pypoetry/virtualenvs - key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} - name: Install dependencies - run: poetry install - + run: pip install -r doc/requirements.txt - name: Build documentation run: | - poetry run pdoc --template-dir doc/templates --html cyclonedx + pdoc --template-dir doc/templates --html cyclonedx - name: Deploy documentation uses: JamesIves/github-pages-deploy-action@4.1.5 with: diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..83315213 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,8 @@ +importlib-metadata==4.10.0 +Mako==1.1.6 +Markdown==3.3.6 +MarkupSafe==2.0.1 +pdoc3==0.10.0 +zipp==3.6.0 +packageurl-python>=0.9 +toml>=0.10.0 \ No newline at end of file