Documentation
¶
Overview ¶
Package manual is bdtools' manual as web pages: the documents in docs/ (grading.md, cookbook.md) made HTML by Build, with a stylesheet and the pictures beside them. The pages are generated here (go generate) and committed, so that a checkout or GitHub serves them as they are, a release archive carries them, and the binary embeds them (Files): --manual serves or writes them, and --3d-grade's page links them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Files embed.FS
Files is the manual: index.html, a page per Pages entry, style.css, icon.svg (the command's, internal/convert's copy) and img/.
var Pages = []Page{
{"grading.md", "How to grade a 2D-to-3D conversion by eye, with the web page or a headset: from starting the server to converting the film with what you set."},
{"cookbook.md", "The things people most often do with bdtools, each with a complete command you can copy."},
}
Pages are the manual's pages in its order: the markdown in docs/ each is made from (its page is the same name with .html) and a word on it for the index.
Functions ¶
func Build ¶
Build makes the manual's generated files from docs (the docs/ directory): the pages, by name, and index.html.
Types ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Command gen writes the manual's generated pages beside it (go generate in docs/manual): the documents in docs/ made HTML by manual.Build.
|
Command gen writes the manual's generated pages beside it (go generate in docs/manual): the documents in docs/ made HTML by manual.Build. |