Add MkDocs-based GitHub Pages documentation site with PR preview#175
Conversation
Co-authored-by: Ki-Seki <60967965+Ki-Seki@users.noreply.github.com>
|
@copilot I mean you should not use complicated doc frameworks, but you have to use frameworks (eg. mkdocs). Choose a proper one and implement it. |
Co-authored-by: Ki-Seki <60967965+Ki-Seki@users.noreply.github.com>
Co-authored-by: Ki-Seki <60967965+Ki-Seki@users.noreply.github.com>
Replaced the plain HTML/CSS approach with MkDocs (Material theme) in commit The setup is:
The site builds cleanly with |
|
@copilot make pr branch’s MkDocs docs previewable |
…anch Agent-Logs-Url: https://github.com/SculptAI/GIMKit/sessions/a1fdd2e9-d223-4298-9c1d-e46bf1f7c7b2 Co-authored-by: Ki-Seki <60967965+Ki-Seki@users.noreply.github.com>
Done in commit
Once the repo's GitHub Pages source is set to the |
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…ve commands; enhance mkdocs.yml with plugins and theme adjustments Co-authored-by: Copilot <copilot@github.com>
…for docs preview and deployment Co-authored-by: Copilot <copilot@github.com>
GIMKit lacked a dedicated documentation page, limiting discoverability and onboarding. Adds a MkDocs documentation site (using the Material theme) deployable via GitHub Pages, with live PR previews for docs changes.
Changes
mkdocs.yml— MkDocs configuration with Material theme, dark/light mode toggle, code copy buttons, and a structured navdocs/index.md— Home page with feature overview and design philosophydocs/installation.md— Installation instructions (standard and vLLM variant)docs/quickstart.md— Quick start guide with code examplesdocs/usage.md— Full usage guide covering masked tags, queries, accessing results, and vLLM backendsdocs/api.md— API reference tables and examplesdocs/requirements.txt— Pinsmkdocsandmkdocs-materialfor CI.github/workflows/docs.yml— Installs MkDocs, runsmkdocs build --strict, and deployssite/to thegh-pagesbranch on push tomain(path-filtered todocs/**andmkdocs.yml) and onworkflow_dispatch, usingpeaceiris/actions-gh-pages@v4withkeep_files: trueso PR preview subdirectories are preserved.github/workflows/docs-preview.yml— Builds docs and deploys a live preview tohttps://sculptai.github.io/GIMKit/pr-preview/pr-{number}/on every PR touchingdocs/**ormkdocs.yml; posts a bot comment with the preview URL and cleans up the preview when the PR is closedpyproject.toml—DocumentationURL updated tohttps://sculptai.github.io/GIMKit💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.