diff --git a/api/block/handle.go b/api/block/handle.go index 332d01d..24f9204 100644 --- a/api/block/handle.go +++ b/api/block/handle.go @@ -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 import ( diff --git a/api/router.go b/api/router.go index e1d4473..75a0b40 100644 --- a/api/router.go +++ b/api/router.go @@ -1,3 +1,4 @@ +// Package api provides the main API router and route handlers for the Triggersmith application. package api import (