2020-06-01 17:40:03 +00:00
|
|
|
name: Build Documentation
|
|
|
|
on:
|
|
|
|
push:
|
2021-01-02 16:23:33 +00:00
|
|
|
paths:
|
|
|
|
- 'docs/**'
|
|
|
|
- '.github/workflows/build-docs.yml'
|
2020-06-01 17:40:03 +00:00
|
|
|
pull_request:
|
|
|
|
types: [opened, synchronize, reopened]
|
2021-01-02 16:23:33 +00:00
|
|
|
paths:
|
|
|
|
- 'docs**/'
|
|
|
|
- '.github/workflows/build-docs.yml'
|
2020-06-01 17:40:03 +00:00
|
|
|
jobs:
|
|
|
|
build-documentation:
|
|
|
|
name: docs
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-04-01 13:46:08 +00:00
|
|
|
- uses: actions/checkout@v3
|
2020-06-01 17:40:03 +00:00
|
|
|
- name: Install Dependencies
|
|
|
|
run: sudo pip3 install sphinx-rtd-theme
|
|
|
|
- name: Build documentation
|
|
|
|
run: make -C docs html
|
|
|
|
- name: Archive build output
|
2021-12-18 14:41:54 +00:00
|
|
|
uses: actions/upload-artifact@v2.3.1
|
2020-06-01 17:40:03 +00:00
|
|
|
with:
|
|
|
|
name: docs_output
|
|
|
|
path: docs/_build/html
|