Skip to content

Add Hugo documentation site and update CLI docs with output locations#9

Merged
chefgs merged 3 commits intomainfrom
copilot/update-command-documentation
Mar 4, 2026
Merged

Add Hugo documentation site and update CLI docs with output locations#9
chefgs merged 3 commits intomainfrom
copilot/update-command-documentation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 4, 2026

Two documentation gaps addressed: CLI commands lacked any mention of where generated files land, and the project had no structured, searchable documentation site beyond scattered Markdown files served via Jekyll.

Hugo documentation site (hugo-docs/)

Replaces Jekyll with a full Hugo Book site (30 pages, Hugo Extended 0.147.0).

Structure:

  • hugo-docs/hugo.toml — Book theme via Go modules, lunr.js search, auto dark/light mode, "Edit on GitHub" links
  • hugo-docs/go.mod + go.sum — pinned theme dependency for reproducible CI builds
  • content/ — 13 content pages covering every generator and the full CLI reference

Navigation sections:

Section Content
Getting Started Install, first pipeline, all platforms, AI setup
Quick Start Reference All commands at a glance with output paths
CI/CD Generators GitHub Actions, GitLab CI, Jenkins — full option tables
GitOps ArgoCD & Flux CD — output file trees, apply commands
SRE Configuration Prometheus, Grafana, SLO, Alertmanager
Kubernetes Manifest generator, GitOps integration
Dev Container CLI options, manual config, tool matrix
AI Integration MCP server, Claude API, OpenAI, Custom GPT
CLI Reference Complete option + env-var tables for all 7 commands

.github/workflows/pages.yml — Jekyll build replaced with Hugo Extended + Go for module resolution, triggered only on changes to hugo-docs/**.

CLI documentation — output locations

Every command example now includes an explicit # Output: annotation:

python -m cli.scaffold_argocd --name my-app --method flux --output-dir gitops
# Output: gitops/flux/git-repository.yaml
#         gitops/flux/kustomization.yaml
#         gitops/flux/image-update-automation.yaml

Per-command README files (GITHUB-ACTIONS-README.md, JENKINS-PIPELINE-README.md, etc.) updated with correct python -m cli.* invocations (replacing obsolete python3 cicd/*.py references) and output path annotations on every example. ARGOCD-README.md gains the previously undocumented --allow-any-source-repo option.

Screenshots

Home page
Hugo home page

Getting Started
Getting started page

CLI Reference
CLI reference page


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

- Create docs/CLI-COMMANDS-REFERENCE.md with complete option tables,
  input files, and exact output paths for all 7 CLI commands
- Update GETTING-STARTED.md with explicit output paths per command
  and improved FAQ entry listing all default output locations
- Rewrite DEVOPS-OS-QUICKSTART.md: correct python -m cli.* invocations,
  add Output comments to every example, add GitLab/ArgoCD/SRE sections
- Update GITHUB-ACTIONS-README.md and JENKINS-PIPELINE-README.md
  with correct invocations and output path annotations
- Update ARGOCD-README.md with missing --allow-any-source-repo option
  and env var prefix note
- Update SRE-CONFIGURATION-README.md with env var prefix note
- Add CLI Commands Reference row to README.md and README-INDEX.md

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Copilot AI changed the title [WIP] Update documentation for command config and output storage details docs: add CLI commands reference and clarify output locations across all generators Mar 4, 2026
- hugo-docs/ — full Hugo site with 30 pages and Go module theme
- content: home, getting-started, ci-cd (GHA/GitLab/Jenkins),
  gitops (ArgoCD/Flux), sre, kubernetes, dev-container,
  ai-integration, and complete CLI reference
- pages.yml — replace Jekyll build with Hugo Extended 0.147.0
- .gitignore — exclude hugo-docs/public/ and resources/

Co-authored-by: chefgs <7605658+chefgs@users.noreply.github.com>
Copilot AI changed the title docs: add CLI commands reference and clarify output locations across all generators Add Hugo documentation site and update CLI docs with output locations Mar 4, 2026
@chefgs chefgs marked this pull request as ready for review March 4, 2026 22:07
@chefgs chefgs merged commit cc22b9a into main Mar 4, 2026
4 checks passed
@chefgs chefgs deleted the copilot/update-command-documentation branch March 4, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants