Publishing Docs¶
This repository publishes a static documentation site to GitHub Pages using MkDocs and Material for MkDocs.
Local preview¶
Install the docs toolchain:
Run the local preview server:
Build the site exactly as CI does:
--strict is the default validation target for pull requests and the Pages build workflow because it catches broken links and nav mistakes early.
GitHub Pages deployment¶
The repository includes a dedicated workflow at .github/workflows/docs.yml.
Deployment behavior:
- triggers on pushes to
main - can also be started manually through
workflow_dispatch - installs the docs dependencies with
pip install -e '.[docs]' - builds the static site with
mkdocs build --strict - uploads the generated
site/directory as the Pages artifact - deploys through the official GitHub Pages actions flow
Site URL and path model¶
This repository is configured as a project site, not a user site.
- repository:
datascale-ai/omnirt - public URL:
https://datascale-ai.github.io/omnirt/
That means links and local previews should assume the docs live under the /omnirt/ path when published.
Maintenance guidelines¶
- keep
README.mdfocused on the repository landing-page summary - move longer user-facing guides into
docs/ - prefer stable document paths and reorganize the nav through
mkdocs.yml - run
mkdocs build --strictbefore merging significant doc changes
If GitHub Pages is not yet enabled for the repository, switch the Pages source to GitHub Actions in the repository settings once. After that, deployments should be handled entirely by the workflow.