15 releases

0.1.14 Dec 26, 2021
0.1.13 Dec 19, 2021
0.1.9 Jun 12, 2021
0.1.8 Apr 10, 2021
0.1.4 Oct 30, 2020

#362 in Operating systems

MIT license

575KB
2.5K SLoC

Rust 2K SLoC // 0.1% comments JavaScript 239 SLoC // 0.0% comments Handlebars 118 SLoC // 0.1% comments Rusty Object Notation 42 SLoC // 0.4% comments AsciiDoc 4 SLoC

adbook

adbook is a tool for building book-like web pages

The name came from mdBook.

Demo

A demo site is avaiable here.

The source files of the demo is here.

Installation

Rust & adbook

After installing Rust, adbook is avaiable via crates.io:

$ cargo install adbook # -> `$HOME/.cargo/bin`

Make sure $HOME/.cargo/bin is added to your PATH

Ruby, Asciidoctor and Asciidoctor extensions

You need Ruby and some package manager. I'd recommend RVM.

asciidoctor and asciidoctor-diagram can be installed as gems:

$ gem install asciidoctor
$ gem install asciidoctor-diagram

lib.rs:

adbook is a simple SSG powered by asciidoctor

The name came from mdBook and adbook aims to be an alternative to it.

!

Dependencies

~14–29MB
~410K SLoC