This repository contains the source chapters for a TypeScript book aimed at JavaScript developers.
- Root markdown files are the source material for the book.
scripts/build-pages.mjsgenerates a static site intodocs/.docs/is intended to be published through GitHub Pages.
npm run build:pagesTo preview the generated site locally:
npm run preview:pagesThen open http://localhost:4173.
Set GitHub Pages to deploy from:
- Branch:
main - Folder:
/docs
After that, every committed rebuild of docs/ will be published as the book site.