2026-02-19 16:09:34 +00:00
|
|
|
module forge.lthn.ai/core/go-help
|
|
|
|
|
|
2026-02-22 20:33:48 +00:00
|
|
|
go 1.26.0
|
2026-02-19 16:09:34 +00:00
|
|
|
|
|
|
|
|
require (
|
|
|
|
|
github.com/stretchr/testify v1.11.1
|
|
|
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
require (
|
|
|
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
feat(help): Phase 2 — HTTP server, rendering, static site generator, CLI ingestion
Add complete HTTP server and rendering layer for the help catalog:
- render.go: Markdown-to-HTML via goldmark (GFM, typographer, raw HTML)
- server.go: HTTP server with 6 routes (HTML index/topic/search + JSON API)
- templates.go: Embedded HTML templates with dark theme (bg #0d1117)
- templates/: base, index, topic, search, 404 page templates
- generate.go: Static site generator with client-side JS search
- ingest.go: CLI help text parser (Usage/Flags/Examples/Commands sections)
320 tests passing, 95.5% coverage, race-clean, vet-clean.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 08:50:10 +00:00
|
|
|
github.com/yuin/goldmark v1.7.16 // indirect
|
2026-02-19 16:09:34 +00:00
|
|
|
)
|