This repository contains documentation for the Bonsai graphics library.
- General overview (
md
/html
) files are placed inoverview/
. Do not place any JSdoc files in there. - Processed JSDoc files are located in
_posts/processed_jsdoc
(they're added there automatically by themake doc
script) - Processed JSDoc files are located in _posts and name in the format
YYYY-MM-DD-title.html
(actual date is irrelevant) because we want to utilise Jekyll's blog "mode" which allows posts to have categories. And categories may be useful down the line.
- Make sure you've generated the
jsdoc/
directory in your bonsai repo - Come to the bonsai-docs (this) directory and run
make JSDOC_DIR=../path/to/bonsai/jsdoc/
- Check
_posts/processed_jsdoc
-- it should now be populated.
- Install Jekyll
- Run
jekyll --auto --server
and visitlocalhost:4000