Adding extensive documentation & GH pages configuration#233
Open
Jakub Wlodek (jwlodek) wants to merge 3 commits into
Open
Adding extensive documentation & GH pages configuration#233Jakub Wlodek (jwlodek) wants to merge 3 commits into
Jakub Wlodek (jwlodek) wants to merge 3 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an MkDocs-based documentation site (with GitHub Pages deployment) and adds repository documentation covering structure, workflows, and testing, plus a script to auto-generate the “supported modules / device roles” reference table from the repo’s vars files.
Changes:
- Add MkDocs configuration + a GitHub Actions workflow to build and publish docs to GitHub Pages.
- Add extensive markdown documentation under
docs/(getting started, guides, reference, testing). - Add
scripts/generate_docs_table.pyandpixi/maketasks to regenerate the supported modules/device roles tables.
Reviewed changes
Copilot reviewed 23 out of 25 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/generate_docs_table.py |
New script to generate and inject module/role tables into the docs reference page. |
pixi.toml |
Adds docs tasks (docs-table, docs-build, docs-serve) and the mkdocs dependency. |
mkdocs.yml |
New MkDocs site configuration and navigation structure. |
Makefile |
Adds docs-table target to run the table generator via pixi. |
docs/testing/verification-tests.md |
New documentation describing verify.yml structure and best practices. |
docs/testing/local-testing.md |
New documentation for container-based local testing workflow. |
docs/testing/ci-workflows.md |
New documentation for the repository’s CI workflows and triggers. |
docs/reference/supported-modules.md |
New generated reference page with module + device role tables and regeneration instructions. |
docs/reference/install-module-reference.md |
New reference documentation for install_module role behavior and schema. |
docs/reference/deploy-ioc-defaults.md |
New reference documentation for deploy_ioc defaults and behavior. |
docs/index.md |
New documentation home page describing architecture and key commands. |
docs/guides/updating-roles.md |
New guide for updating modules and modifying roles safely. |
docs/guides/adding-an-areadetector-role.md |
New guide detailing patterns and requirements for AD-based roles. |
docs/guides/adding-a-module.md |
New guide for adding/installing modules (interactive + manual). |
docs/guides/adding-a-device-role.md |
New guide for creating device roles (interactive + manual). |
docs/getting-started/usage-patterns.md |
New “intended workflow” + deployment flow/precedence documentation. |
docs/getting-started/installation.md |
New installation/setup documentation (pixi, containers, optional utilities). |
.pre-commit-config.yaml |
Updates ansible-lint exclusions to avoid linting docs output paths. |
.gitignore |
Ignores MkDocs build output directory (site/). |
.github/workflows/deploy-docs.yml |
New workflow to generate tables, build MkDocs, and deploy to GitHub Pages. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
18
to
26
| entry: > | ||
| ansible-lint --offline | ||
| --exclude roles/install_module/vars/* | ||
| --exclude scripts/deploy_ioc.yml | ||
| --exclude docs/* | ||
| --exclude site/* | ||
| --exclude roles/device_roles/adpilatus/* | ||
| description: Perform ansible linting | ||
| types: [yaml] |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding documentation & mkdocs build configuration that goes over the repository structure, usage patterns, etc.