Skip to content

Transition to mkdocs-material #3

Transition to mkdocs-material

Transition to mkdocs-material #3

Workflow file for this run

name: mkdocs-build
on: [push, pull_request]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: eifinger/setup-rye@v4
id: setup-rye
with:
enable-cache: true
cache-prefix: 3.12
- name: Pin python-version 3.12
run: rye pin 3.12
- name: Install dependencies
if: steps.setup-rye.outputs.cache-hit != 'true'
run: |
rye sync --no-lock
- name: Generate requirements.txt
run: |
sed '/-e/d' requirements.lock > docs/requirements.txt
- name: Build
uses: Tiryoh/actions-mkdocs@v0
with:
# mkdocs_version: 'latest' # option
mkdocs_version: '1.6' # option
requirements: 'docs/requirements.txt' # option
configfile: 'mkdocs.yml' # option