Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
gohan
command
|
|
|
internal
|
|
|
config
Package config loads and validates gohan configuration from YAML files.
|
Package config loads and validates gohan configuration from YAML files. |
|
diff
Package diff detects changed files between builds using Git or file hash comparison.
|
Package diff detects changed files between builds using Git or file hash comparison. |
|
generator
Package generator writes rendered HTML, assets, sitemaps, and feeds to the output directory.
|
Package generator writes rendered HTML, assets, sitemaps, and feeds to the output directory. |
|
highlight
Package highlight provides chroma-based syntax highlighting for fenced code blocks in goldmark-rendered Markdown.
|
Package highlight provides chroma-based syntax highlighting for fenced code blocks in goldmark-rendered Markdown. |
|
mermaid
Package mermaid provides a goldmark extension that transforms fenced code blocks tagged with "mermaid" into browser-renderable <div class="mermaid"> elements for client-side rendering via the Mermaid.js CDN.
|
Package mermaid provides a goldmark extension that transforms fenced code blocks tagged with "mermaid" into browser-renderable <div class="mermaid"> elements for client-side rendering via the Mermaid.js CDN. |
|
parser
Package parser parses Markdown content and YAML Front Matter into Article structs.
|
Package parser parses Markdown content and YAML Front Matter into Article structs. |
|
plugin
Package plugin defines the gohan plugin interface and built-in plugin registry.
|
Package plugin defines the gohan plugin interface and built-in plugin registry. |
|
plugin/amazonbooks
Package amazonbooks is a gohan built-in plugin that generates Amazon book cards for article templates.
|
Package amazonbooks is a gohan built-in plugin that generates Amazon book cards for article templates. |
|
plugin/bookshelf
Package bookshelf is a gohan built-in SitePlugin that generates a bookshelf page by aggregating book entries from every article's front-matter.
|
Package bookshelf is a gohan built-in SitePlugin that generates a bookshelf page by aggregating book entries from every article's front-matter. |
|
processor
Package processor builds dependency graphs and processes articles for output.
|
Package processor builds dependency graphs and processes articles for output. |
|
server
Package server implements the local development HTTP server with live reload.
|
Package server implements the local development HTTP server with live reload. |
|
template
Package template loads Go html/template files and renders pages with site data.
|
Package template loads Go html/template files and renders pages with site data. |
Click to show internal directories.
Click to hide internal directories.