Doc is an SSG that takes MD input and renders HTML output.
- Github Flavored MarkDown (GFM)
- Jinja lite structure (includes)
- Pico (CSS) style
Started January 2025
- My Python Static Jinja code was crufty, slow, legacy.
- Latency is the Mother of invention.
- Bun is fun!
- bun.sh
- GitHub-flavored Markdown
- Jinja lite (includes) for structure
- Pico Cascading Style Sheets (CSS) for style
- Automated tests for sanity
-
Clone the repo:
git clone https://github.com/davidthewatson/doc.git cd doc
-
Install dependencies:
bun install
-
Setup .env file for your site:
export SITEROOT=~/github/davidthewatson.github.io export SRC=$SITEROOT/src export STATIC=$SITEROOT/static export DOCS=$SITEROOT/docs source .env
-
Run the build script:
bun run build
-
Run the tests:
bun run tests/runTests.js
- Tests return short output
- Refactor js to ts
- Refactor style
- Done for now.
This project is licensed under the BSD 3-clause License - see the LICENSE file for details.
Copyright (c) 2025, David Watson