Commit graph

5 commits

Author SHA1 Message Date
f708088ef7 Re-organise cli.ts into functions and sub-commands
Add the necessary boilerplate for cli.ts to provide more than one
command, with the resource gathering step split out from the build
step in order for it to be re-usable.
2025-02-01 16:25:45 +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
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