Commit graph

13 commits

Author SHA1 Message Date
db0ec6f797 Add space between paragraphs and lists 2025-01-25 08:58:15 +01:00
f7bc525310 Early draft of website content 2025-01-25 08:58:08 +01:00
ef8aaa6f6d Ignore absolute URIs when resolving refs
Do not output bogus warnings in the case of links that goes to other
websites.
2025-01-25 08:52:08 +01:00
cf3229423b Fix create folder logic in cli.js
The paths changed in d003ea01 to start with a forward slash, this broke
the create folder detection logic as now it matched the first slash of
the path instead of sub-folder in the path.  Fix by ignoring the first
character in the path.
2025-01-25 08:41:25 +01:00
ac1b1f13f4 Clean up whitespace in tsconfig.json 2025-01-22 09:11:29 +01:00
4236ddd5fa Reduce confusion from import elison
Set verbatimModuleSyntax to reduce possible confusion around which
imports stay and which gets removed by TypeScript's import elision.
2025-01-22 09:07:07 +01:00
cf3610f6ff Use stable scroll-gutter
Reserve space for the scrollbar to prevent horsontal layout shift of the
page when navigating from a page with a scrollbar to one without.
2025-01-22 09:05:39 +01:00
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