Documentation ¶
Overview ¶
Package mechui provides the HTML, JS, and other such files needed by a Mechane server to display the browser based UI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUIDeps ¶
func NewUIDeps() (ElmDeps, TypescriptDeps, error)
NewUIDeps returns the imported packages of the Elm and Typescript integrants.
func Root ¶
func Root() (http.FileSystem, error)
Root file system of a Mechane server with the web directory as the root directory. Can be supplied to a Mechane server as the root file system.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package asciidoc converts AsciiDoc to HTML by sending the AsciiDoc to a Node.js process that uses the Asciidoctor.js Processor API.
|
Package asciidoc converts AsciiDoc to HTML by sending the AsciiDoc to a Node.js process that uses the Asciidoctor.js Processor API. |
Download the default fonts used by Asciidoctor and create a modified stylesheet with the fonts' local URLs.
|
Download the default fonts used by Asciidoctor and create a modified stylesheet with the fonts' local URLs. |
Generate the index.html file under the web directory.
|
Generate the index.html file under the web directory. |
Click to show internal directories.
Click to hide internal directories.