Directories
¶
| Path | Synopsis |
|---|---|
|
Package build turns a site's inputs into an immutable Site snapshot.
|
Package build turns a site's inputs into an immutable Site snapshot. |
|
Package config loads, defaults and validates tryck.config.yaml.
|
Package config loads, defaults and validates tryck.config.yaml. |
|
Package content discovers source files and models pages: front matter, URL mapping and titles.
|
Package content discovers source files and models pages: front matter, URL mapping and titles. |
|
Package devserver implements tryck dev: it builds the site into memory, serves it, rebuilds on file changes and tells browsers to reload over a WebSocket.
|
Package devserver implements tryck dev: it builds the site into memory, serves it, rebuilds on file changes and tells browsers to reload over a WebSocket. |
|
Package diag defines build diagnostics: a stable, file:line-addressed description of every problem found while loading or building a site.
|
Package diag defines build diagnostics: a stable, file:line-addressed description of every problem found while loading or building a site. |
|
Package markdown configures goldmark: CommonMark plus GFM, unique heading IDs and tryck's ::: directives.
|
Package markdown configures goldmark: CommonMark plus GFM, unique heading IDs and tryck's ::: directives. |
|
Package nav builds the navigation tree that mirrors contentDir.
|
Package nav builds the navigation tree that mirrors contentDir. |
|
Package output writes a built Site to disk.
|
Package output writes a built Site to disk. |
|
Package plugins holds tryck's built-in plugins and the registry that enables, configures and orders them for a build.
|
Package plugins holds tryck's built-in plugins and the registry that enables, configures and orders them for a build. |
|
Package render loads layout templates and executes them for pages.
|
Package render loads layout templates and executes them for pages. |
|
Package scaffold creates a new site from a template file tree.
|
Package scaffold creates a new site from a template file tree. |
|
Package scripts runs JavaScript plugins: plugins/<name>.js files that define the same hooks as Go plugins as plain functions.
|
Package scripts runs JavaScript plugins: plugins/<name>.js files that define the same hooks as Go plugins as plain functions. |
|
tools
|
|
|
release
command
Command release prepares a tryck release in the working tree: the release notes page, the release index, and the version that the docs and the starter workflow download.
|
Command release prepares a tryck release in the working tree: the release notes page, the release index, and the version that the docs and the starter workflow download. |
|
Package workpool runs indexed work on a bounded number of goroutines.
|
Package workpool runs indexed work on a bounded number of goroutines. |
Click to show internal directories.
Click to hide internal directories.