1.3.0-rc01 #74
Workflow file for this run
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 docs | |
on: | |
pull_request: | |
paths: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
- '.github/workflows/docs.yml' | |
- '.github/workflows/docs_pr.yml' | |
branches: | |
- 'master' | |
jobs: | |
build: | |
name: Build docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Build docs | |
run: | | |
./gradlew dokkaHtmlMultiModule | |
mv ./build/dokka/htmlMultiModule docs/api | |
- name: Install dependencies | |
run: | | |
pip install mkdocs-material mkdocs-material-extensions mkdocs-markdownextradata-plugin | |
- name: Build docs | |
run: mkdocs build -v |