Docusaurus-powered documentation site for VisualCron. Also produces a CHM (Compiled HTML Help) file for the desktop application's built-in help system.
- Node.js 18+
- Yarn (
npm install -g yarn) - HTML Help Workshop (Windows only, required for CHM compilation)
cd visualcron-docs
yarn install
yarn startThis launches a local Docusaurus dev server with hot reload at http://localhost:3000.
| Command | Description |
|---|---|
yarn start |
Local Docusaurus dev server |
yarn build |
Production Docusaurus build |
yarn build:chm |
Generate CHM source files to chm-output/ |
The CHM is built locally in two steps:
yarn build:chm # 1. Generate .htm files, .hhp project, .hhc TOC, .hhk index
hhc.exe chm-output/VisualCron.hhp # 2. Compile into VisualCron.chm (returns exit code 1 on success)
hhc.exe is installed with HTML Help Workshop, typically at C:\Program Files (x86)\HTML Help Workshop\hhc.exe.
| File | Purpose |
|---|---|
chm-config.json |
Maps doc IDs to .htm filenames, labels, and VC source references |
scripts/build-chm.js |
Reads chm-config.json + Markdown sources, emits chm-output/ |
- Create the Markdown file under
docs/and add it tosidebars.js. - Add a mapping entry in
chm-config.jsonwithchmFile,mdFile,label, and (if applicable)helpKeywordSources. - Run
yarn build:chmand compile withhhc.exeto verify the topic appears in the CHM.