Documentation
Theme development boundaries
Develop product and documentation themes through Siteforge's theme-first workflow.
Theme-first workflow
Siteforge’s AGENTS.md recommends changing the theme before changing the builder:
- Copy
themes/defaulttothemes/<your-theme>. - Rename the theme directory and
theme.name. - Change global visual language in
style.css. - Change page or feature styles in
styles/*.css. - Change HTML structure in
templates/*.html. - Add optional browser behavior in
scripts/*.jsand expose it throughtheme.yml.
When to change src
Only enter src/ when improving the framework itself, such as loading config, adding a reusable page type, exposing new structured data to theme templates, or improving feed, sitemap, headers, and agent discovery.
Colors, spacing, a single site’s home page, footer copy, comment providers, analytics tokens, and image assets belong in content or theme files.
Current product-docs theme
The current theme is a product showcase plus product documentation theme. The home page explains Siteforge’s value, while docs pages hold multiple Markdown documents with a left navigation and current-page outline.