AsciiDoc based simple static site generator.
Prepare .adoc
files (or directories) on public
directory. (public
directory is created by bash setup.sh
.)
$ echo hello > public/index.adoc
$ make
Then, .html
files will be exported into public directory.
You can edit 3 files on src/
. Their default contents are copied from src/*_example.rb
.
-
src/head.rb
-
src/body.rb
-
src/macros.rb
You can find broken links in your website.
$ docker-compose up -d $ make check
The local web server must be running by docker-compose up -d
.
This function is only for local web server (the root is http://localhost:80/).