GitHub workflows¶
The Sphinx Stack provides several GitHub Actions workflows to run checks on documentation projects.
Spelling, link, and inclusive language checks¶
The documentation-checks.yaml workflow runs several checks that correspond
to targets in the Sphinx Stack Makefile:
Spelling check (
spelling)Link check (
linkcheck)Inclusive language check (
woke)
Refer to the how-to guides for details about how to modify this workflow or run documentation checks locally.
Default configuration¶
The documentation workflow is configured as follows:
Key |
Description |
Default |
|---|---|---|
|
The root of the documentation project. |
|
|
The Python interpreter to use for the workflow’s jobs. |
|
|
The number of commits to fetch from your repository. |
|
|
The host system for the workflow’s runners. |
|
Check for removed URLs¶
Added in version 1.2.0.
The Sphinx Stack includes a GitHub Actions workflow to identify when pages have been removed. This includes moving pages to another path, or removing them completely.
This does not cover higher-level changes to URL paths, such as changes to the project name or URL slug pattern on RTD.
This check ensures that redirects are implemented when pages are moved, or appropriate information is provided when anything is removed. It only runs on pull request builds.