FSInfo Sitting Minutes Postprocessor
Bunch of markdown files to HTML page
Usage
node out.js <input_directory> <output_directory>
Dev Setup
Install dependencies:
-
git submodule update --init
(Clones the Sitzung Submodule) - Install NodeJS >= 18
-
corepack enable
(Enables thepnpm
shipped with NodeJS) pnpm install --ignore-scripts
pnpm build
Testing
- Run
pnpm build && node out.js test/sitzungen/Protokolle test/out -O test/sitzungen/archive/old.json
(or simplypnpm test:realdata
)- If you only want to test a single file, you also use
test/single_transcript
as input (again simplypnpm test:single
)
- If you only want to test a single file, you also use
- Open any file in
test/out
in your browser
If you dont have access to the Sitzungen
Repository, you can use the local_test
branch
Collaboration
To stay consistent in e.g. spacing and have the chance to track changes, please format the files with
pnpm format
in the root of the repository.