- Pandoc (for document conversion)
- XeLaTeX (for LaTeX compilation)
-
Install Node.js and npm
Download and install Node.js (includes npm). -
Install Pandoc
sudo apt-get install pandoc
Or see Pandoc installation guide.
-
Install TeX Live
sudo apt-get install texlive-full
Or see TeX Live installation guide.
-
Install Node.js dependencies
In the project directory, run:npm install
To build the documentation, run:
./build_docs.sh [-d] INPUT_FILE OUTPUT_DIRThis script will:
- Install npm dependencies if needed.
- Convert Markdown files to PDF using Pandoc and LaTeX.
- Output the generated documentation in the
docs/directory.
Note: Ensure all prerequisites are installed before running the script.