~huyngo/pensiv

some static site generator i guess 😔

clone

read-only
https://git.sr.ht/~huyngo/pensiv
read/write
git@git.sr.ht:~huyngo/pensiv

You can also use your local clone with git send-email.

#The pensiv static document engine 😔

Pensiv's primary purpose is to render static site in HTML, but nothing prevents it from being used to, e.g. render a dictd-compatible dictionary or a PDF document via LaTeX. It does not dictate the input format either, as long as it's plain text. Whether you want to use Markdown, RST, or Asciidoc, it doesn't matter. However, this also means you'll need to handle the wiring: you'll need to find the appropriate program/library to perform the transformation. Unlike for other static site generators, a user of pensiv is expected to be aware of how the engine works, rather than just the layouts (unless they have someone else to set up the base, by asking them or reusing their templates).

#Model

Pensiv is inspired by the preprocessor model of mdbook. However, it goes a step further and apply this to the source input stage as well, and the rendering stage doesn't restrict to one kind of output.

#Old version

First iteration of the pensiv was on simple branch, but it has a different model.