This is just a simple repository list for github pages.
The purpose of this file is to give https://nhollmann.github.io/ a usable landing page if anybody should try to access it directly.
- Clone repository
- Install dependencies with
yarn
To compile the TypeScript source to JavaScript use yarn compile
.
To build a static page use yarn build
.
If you want automatic rebuilding while developing new features use yarn dev
.
All sources are in the src
directory. The builder.ts
file is the main entry point for the static site generator. It uses scripts from the src/lib
directory to build the site.
Files in the src/static
directory are copied unchanged to the target directory. For every html file in the src/pages
direcoty a page is generated. Every page can use data loaded by the builder and partials from the src/partials
directory.