Commit graph

6 commits

Author SHA1 Message Date
d003ea01d0 Use absolute refs transformed to relative
Write all links as absolute refs from the virtual root of the website's
path namespace and then transform these into relative links with the
resolveRefs utility function.
2025-01-22 09:03:37 +01:00
17f8693eae Add resolveRefs transform
Provide a transformation function that maps absolute references to
resources into relative references based on the location of a page.
This makes it possible to use the same links across multiple pages
in the hierarchy that works when loaded as files from the filesystem.
2025-01-22 08:58:48 +01:00
7aa937a7e9 Use source maps
Enable source map output and use it to get better line reporting.
2025-01-22 07:16:43 +01:00
fed46dbb4a Port cli.js to TypeScript 2025-01-22 07:16:01 +01:00
8fb809fa95 Scaffold basic page layout and site generation
Set up the basic layout of the site and greybox its content based on
statically generated pages.  Content pages uses general base layouts
defined centrally to avoid duplicating code.
2025-01-22 05:52:21 +01:00
51b458103b Scaffold project structure
Setup vcs, editor, language, and package configs for a basic site
generator using TSX to build an html website.
2025-01-21 07:56:15 +01:00