- discover modules/<m> with non-test Go files; a missing README is a readme: problem - one GitHub-compatible slug parser.IDs for heading anchors, passed per page - rewrite links to .md pages and module READMEs to site .html and .md URLs - search-index.json gains one entry per H2 with 300-char plain text - add the api section to docs/site.yaml; docsite.Pages exposes reading order - tests: TestSlugIDs, TestReadmeIngestion, TestEveryModuleInSidebar, TestDocsAIOutputsInSync
18 lines
800 B
YAML
18 lines
800 B
YAML
# Documentation site configuration, read by `summer docs:build`.
|
|
# Sections are listed in sidebar order; each must have at least one page.
|
|
title: SummerCMS
|
|
description: "SummerCMS is a content management framework for Go, inspired by WinterCMS."
|
|
base_url: ""
|
|
edit_url: "https://git.golem15.com/golem15/summercms/_edit/master/{path}"
|
|
source_url: "https://git.golem15.com/golem15/summercms/src/branch/master/{path}"
|
|
llms_notes:
|
|
- "Plugins are Go modules compiled into the application binary and registered at build time; nothing is loaded at runtime."
|
|
- "The data layer supports PostgreSQL only."
|
|
- "SummerCMS is headless: it serves a JSON API and an admin SPA, with no frontend themes."
|
|
- "It targets Go 1.27."
|
|
sections:
|
|
- name: setup
|
|
title: Setup
|
|
- name: api
|
|
title: API reference
|