directory
Version:
v0.23.1
Opens a new window with list of versions in this module.
Published: Apr 10, 2024
License: Apache-2.0
Opens a new window with license information.
README
¶
Service Weaver Website
Service Weaver website is a static site generated by running a generator
program, from within the top-level weaver directory:
go run dev/docgen/docgen.go
And to preview the resulting structure:
(cd website/public && python3 -m http.server)
You can also run go run dev/docgen/docgen.go --watch
to automatically rebuild
the website whenever the source files change.
Directory structure
Name |
Description |
. |
Editable document contents in .md and .html files |
assets |
Supporting CSS, Javascript, images |
generate |
Web site generator |
public |
Generated website (DO NOT EDIT!) |
templates |
Go templates that define generated document structure |
Adding a Blog Post
To add a blog post:
- Write the blog as a markdown file in
blog/
.
- Update
blog/index.html
with a link to the blog.
- Update
dev/docgen/docgen.go
with the markdown file.
Directories
¶
blog
|
|
|
Package main implements a simple multiprocess deployer. |
|
Package main implements a simple singleprocess deployer. |
Click to show internal directories.
Click to hide internal directories.