mirror of
https://github.com/holos-run/holos.git
synced 2026-03-20 01:04:59 +00:00
Previously docs are not published. This patch adds Docusaurus into the
doc/website directory which is also a Go package to embed the static
site into the executable.
Serve the site using http.Server with a h2c handler with the command:
holos website --log-format=json --log-drop=source
The website subcommand is intended to be run from a container as a
Deployment. For expedience, the website subcommand doesn't use the
signals package like the server subcommand does. Consider using it for
graceful Deployment restarts.
Refer to https://github.com/ent/ent/tree/master/doc/website
8 lines
176 B
JSON
8 lines
176 B
JSON
{
|
|
// This file is not used in compilation. It is here just for a nice editor experience.
|
|
"extends": "@docusaurus/tsconfig",
|
|
"compilerOptions": {
|
|
"baseUrl": "."
|
|
}
|
|
}
|