Host org notes online.
- Emacs
- Ninja
- ox-hugo (waitting for it to be merged)
- cortex (modified from original one)
Ninja spawns many Emacs instances in batch mode
running ox-hugo
, parallelizing the job of exporting the Org files.
build.py
will convert all Org files in the same level org
dir into Markdown.
Change org
dir path in build.py
.
# steps of build.py
1. find org files
2. ignore excluded files
3. write file list into build.ninja
4. call ninja
To convert all Org files into Markdown, run:
python3 ./build.py
Create files excludelist
or includelist
and put patterns into them, one per line.
build.py
will use relative file paths to match the patterns (e.g. org/test.org).
Once the Markdown files are generated, we can use Hugo to generate the website.
Install hugo. E.g., on a Mac with Homebrew:
$ brew install hugo
Make sure the submodule containing the Hugo theme is installed:
$ git submodule init
$ git submodule update
Now run hugo to generate the files (find them in /public
):
$ hugo
Or run the following to get an immediately browsable website on localhost:
$ hugo serve