A static site generator (SSG) is a type of general-purpose documentation platform which embraces the principle of truth proximity, and the tenets of change reactivity and decoupled rendering in particular, by clearly separating the process of authoring documents from that of rendering them.
Some of the most popular static site generators, geared toward general documentation use cases, are:
Name | Document Encoding Format | DocOps Automation |
---|---|---|
Docusaurus | Markdown | Javascript (React) |
Hugo | AsciiDoc, HTML, Markdown (native), reStructuredText, Emacs Org Mode | Go |
Jekyll | Markdown | Ruby |
MkDocs | Markdown | Python |
VuePress | Markdown | Javascript (Vue) |
DocOps Automation
Static site generators are the easiest to integrate with DocOps automation workflows because the input documents are regular files encoded using Markdown and can be easily generated or pre-processed, before they are made available to the static site generator. Furthermore, the same source document files can be fed into other render build pipelines for, say, ebook and paper-oriented use cases.
Static site generators also facilitate embracing the tenet of consistent layout, given that they render all documents uniformly using a default template, and âextra effortâ is required to break this pattern. In addition, unlike other documentation platforms, nearly all tools use off-the-shelf templating engines, which facilitates customization.
Limitations
While static site generators are the most DocOps-friendly documentation platforms in terms of headless automation use cases, they are not as aligned as wiki engines, in terms of embracing the principle of shared responsibility. Collaborative documentation efforts requires users to posses access to Git, or similar. Furthermore, adding new content requires creating file-system files and hyperlinking them manually, which is a far cry from the way a similar process works on a wiki engine.
Static site generators, because of their nature, are also typically unconcerned with the following documentation system tenets:
.md
files to HTTP URIs and users are forced to use only HTTP URIs which do not work in edit mode. These two problems discourage the linking of individual words and text fragments and may lead to a documentation base characterized by long monolithic documents connected through jump-off pages or menus.Other Static Site Generators
© 2022-2024 Ernesto Garbarino | Contact me at ernesto@garba.org