Fix minor typos #1784
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 and check links | |
on: | |
schedule: | |
# Weekly, at 03:00 on Monday UTC | |
- cron: "0 3 * * 1" | |
pull_request: | |
paths: | |
- ".github/workflows/sphinx.yml" | |
- "Makefile" | |
- "docs/**" | |
# Thse files are also rendered as docs pages | |
- "README.md" | |
- "CHANGELOG.md" | |
# These files are used to generate some code snippets in the docs | |
- "tagging/manifests/apt_packages.py" | |
- "tagging/manifests/manifest_interface.py" | |
- "tagging/taggers/sha.py" | |
- "tagging/taggers/tagger_interface.py" | |
push: | |
branches: | |
- main | |
paths: | |
- ".github/workflows/sphinx.yml" | |
- "Makefile" | |
- "docs/**" | |
- "README.md" | |
- "CHANGELOG.md" | |
- "tagging/manifests/apt_packages.py" | |
- "tagging/manifests/manifest_interface.py" | |
- "tagging/taggers/sha.py" | |
- "tagging/taggers/tagger_interface.py" | |
workflow_dispatch: | |
jobs: | |
build-docs: | |
runs-on: ubuntu-24.04 | |
timeout-minutes: 10 | |
if: github.repository_owner == 'jupyter' || github.repository_owner == 'mathbunnyru' || github.event_name != 'schedule' | |
steps: | |
- name: Checkout Repo ⚡️ | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set Up Python 🐍 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install Doc Dependencies 📦 | |
run: | | |
pip install --upgrade pip | |
pip install --upgrade -r docs/requirements.txt | |
- name: Build Documentation 📖 | |
run: make docs | |
- name: Check Documentation URLs 🔗 | |
run: make linkcheck-docs || make linkcheck-docs |