WIP-ADD: auto-tables for toolhead and mounts + mount images #42
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: doc-build | |
on: | |
push: | |
paths: | |
- 'tests/**' | |
- 'src/**' | |
- 'cmake/**' | |
- 'CMakeLists.txt' | |
- 'Dockerfile' | |
- 'assets/**' | |
- 'deps/**' | |
- 'docs/**' | |
- 'materials/**' | |
jobs: | |
build-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Doxygen | |
run: sudo apt-get install -y doxygen | |
- name: Setup conda environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.9.2 | |
- name: Replace the changelog/index.md with the latest CHANGELOG.md but convert it to UTF8 | |
run: iconv -f ISO-8859-1 -t UTF-8 CHANGELOG.md > docs/changelog/index.md | |
- name: Create ac conda environment | |
run: conda env create -f environment.yml | |
- name: Build the documentation | |
run: conda run -n ac mkdocs build |