Allow the Modal
component to block scrolling on any HTML element instead of just the <body>
element (#472)
#40
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: Docs | |
on: [ pull_request ] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Build Docs | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Get cache ID | |
run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV | |
- name: Restore cache | |
uses: actions/cache@v3 | |
with: | |
key: mkdocs-material-${{ env.cache_id }} | |
path: .cache | |
restore-keys: | | |
mkdocs-material- | |
- name: Install MkDocs | |
run: pip install 'mkdocs-material>=9.0.0,<10.0.0' | |
- name: Build MkDocs | |
run: mkdocs build |