Skip to content

Latest commit

 

History

History
 
 

website

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:

  1. Write the blog as a markdown file in blog/.
  2. Update blog/index.html with a link to the blog.
  3. Update dev/docgen/docgen.go with the markdown file.