add package header documentation

This commit is contained in:
2025-12-17 13:49:04 +02:00
parent cda0edfde2
commit 26052db142
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
// Package block provides functionality to load HTML blocks with associated content, JavaScript, and CSS from the filesystem.
// API Endpoint:
// /api/block/{blockPath}
// Example:
// /api/block/header would load the block located at {BlockDir}/header/
package block package block
import ( import (

View File

@@ -1,3 +1,4 @@
// Package api provides the main API router and route handlers for the Triggersmith application.
package api package api
import ( import (