2021-07-31 03:55:34 +02:00
|
|
|
name: Module documentation
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
moduledocs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-07-31 03:58:18 +02:00
|
|
|
- name: Install pandoc and python3 (and texlive)
|
|
|
|
run: sudo apt-get install pandoc python3 texlive-full
|
2021-07-31 03:55:34 +02:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Compile documentation
|
|
|
|
run: |
|
|
|
|
cd ${{ github.workspace }}/docs
|
|
|
|
python3 build.py
|
|
|
|
- name: Archive documentation as artifact
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: moduledocs
|
|
|
|
path: ${{github.workspace}}/docs/docs.pdf
|