Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

feat: scaffold full MkDocs Material docs site - #1

Merged
AgentMindCloud merged 2 commits into
mainfrom
claude/build-grok-docs-site-NJBbX
Apr 17, 2026
Merged

feat: scaffold full MkDocs Material docs site#1
AgentMindCloud merged 2 commits into
mainfrom
claude/build-grok-docs-site-NJBbX

Conversation

@AgentMindCloud

Copy link
Copy Markdown
Owner

Summary

Launches the full documentation site — dark-first MkDocs Material, five-page YAML spec reference (grok-install, grok-agent, grok-workflow, grok-security, grok-prompts), live client-side playground (Monaco + Ajv), CLI reference, getting-started tutorial, five deep-dive guides, gallery of certified templates, ecosystem integration pages, and the for-xAI adoption guide.

What's inside

  • 21 content pages across getting-started / spec / guides / cli / gallery / playground / ecosystem / for-xai / contributing
  • Live YAML validator — Monaco editor + js-yaml + Ajv, auto-detects file kind, validates against local schemas
  • Design system — deep black + electric cyan, animated terminal hero, feature grid, custom Mermaid theme
  • 3 GitHub Actions workflowsdeploy.yml (Pages on push to main), link-check.yml (lychee on PRs), sync-schemas.yml (nightly sync from agentmindcloud/grok-yaml-standards into versioned docs/assets/schemas/v<VERSION>/ + latest/)
  • mkdocs build --strict passes with zero warnings

Test plan

  • mkdocs build --strict — clean
  • All nav entries resolve, no orphan pages
  • Five JSON schemas present under docs/assets/schemas/latest/
  • Pages deploy succeeds after merge (needs Pages → GitHub Actions source enabled in repo settings)
  • Site reachable at https://agentmindcloud.github.io/grok-docs/
  • Playground validates a pasted YAML

Notes

  • Renamed docs/templates/docs/gallery/ because MkDocs excludes templates/ subdirs from the built site.
  • Sync workflow writes to docs/assets/schemas/ (adjusted from the root-relative path in the original spec, so mkdocs actually serves the files).

https://claude.ai/code/session_01PHbVcaubUZn7QgZwrn4j9K

claude and others added 2 commits April 17, 2026 04:38
Launches the "Read the Docs of Grok agents" — dark-first, cyan-accented,
client-side YAML validator, and full v2.12 spec reference.

Structure:
- 5 spec pages (grok-install, grok-agent, grok-workflow, grok-security,
  grok-prompts) grounded in real v2.12 template YAMLs
- CLI reference for every subcommand (init, validate, scan, run, test,
  deploy, install, publish)
- 10-minute first-agent tutorial + Vercel/Railway/Docker/Replit deploy guide
- 5 deep-dive guides (swarms, tool schemas, safety profiles, deployment,
  X integration)
- Live YAML playground (Monaco + Ajv, js-yaml, auto kind-detection)
- Gallery of the 10 certified awesome-grok-agents templates
- Ecosystem pages (xAI SDK, LiteLLM, Semantic Kernel)
- For-xAI adoption guide — the business-development asset

Infra:
- .github/workflows/deploy.yml — GitHub Pages deploy on push to main
- .github/workflows/link-check.yml — lychee on PRs
- .github/workflows/sync-schemas.yml — nightly sync from
  agentmindcloud/grok-yaml-standards with versioned + latest directories
- Custom dark theme (electric cyan on deep black), animated terminal
  hero, feature grid, playground UI
- mkdocs build --strict passes with zero warnings
@AgentMindCloud
AgentMindCloud merged commit 7dfe4c4 into main Apr 17, 2026
1 check failed
@AgentMindCloud
AgentMindCloud deleted the claude/build-grok-docs-site-NJBbX branch May 7, 2026 08:48
AgentMindCloud pushed a commit that referenced this pull request May 7, 2026
Cherry-picks the remaining unsalvaged work from
claude/grok-docs-upgrade-phase-3-d2pr6 onto main:

- playground.js: replace hardcoded SCHEMA_DIR with multi-version
  schema map (v2.12, latest, v2.14) so the live validator handles
  v2.13 and v2.14 YAML, not just v2.12. Adds visuals preview pane.
- mkdocs.yml: nav restructure into v2.14 (latest) / v2.13 / v2.12
  (pinned) sections; add redirects plugin so old /spec/* URLs
  308 to /v2.12/spec/*.
- Move docs/spec/* -> docs/v2.12/spec/* with content updates.
- index.md / playground/index.md / first-agent.md / multi-agent-swarms.md:
  retarget links from /spec/ to /v2.12/spec/ and surface v2.14 visuals.
- extra.css: styles for the new playground preview pane.
- sync-schemas.yml: explicit v2.13 and v2.14 mirror handling, never
  clobber the frozen v2.12 directory.
- requirements.txt: add mkdocs-redirects==1.2.1 and mike==2.1.3.

Resolves the audit's #1 Critical finding (playground hardcoded to
v2.12 while site advertises v2.14 as current).

Build verified locally with mkdocs --strict.

https://claude.ai/code/session_01SbuY5ocHw7SWTQMSuBeYXB
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants