Merge pull request #122 from Tigul/pygments-addons #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Sphinx documentation π | |
on: | |
push: | |
branches: | |
- dev | |
# ---------------------------------------------------------------------------------------------------------------------- | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
test-and-build: | |
name: Build Sphinx documentation | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout π | |
uses: actions/checkout@v3 | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Install PyCRAM dependencies πΌ | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "requirements.txt" | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Install Sphinx dependencies π | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: "doc/requirements.txt" | |
# ---------------------------------------------------------------------------------------------------------------- | |
- name: Build Sphinx documentation π | |
working-directory: ./doc | |
run: | | |
sudo apt install pandoc | |
make html |