From 663d83b6bf5171824ef6f3ae76bb108c27ddf4ed Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 19 Oct 2024 12:48:12 -0700 Subject: Logging as a single chapter. This is the direction we want to go with documentation. Major areas of functionality should be one single chapter in the API reference, which should make them far more usable for people not already familiar with NNG. This represents a substantial departure from UNIX man pages, but many of our users are not used to working with UNIX man pages anyway, and organization of man pages, while convenient for reading with the legacy shell man command, fails on a number of usability fronts. --- docs/book.toml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'docs/book.toml') diff --git a/docs/book.toml b/docs/book.toml index d7fb14f7..5b7a2610 100644 --- a/docs/book.toml +++ b/docs/book.toml @@ -8,10 +8,17 @@ title = "NNG Reference Manual (DRAFT)" [output.html] smart-punctuation = true fold.enable = true -fold.level = 1 +fold.level = 2 +additional-css = ["theme/pagetoc.css"] +additional-js = ["theme/pagetoc.js"] [preprocessor.alerts] [preprocessor.indexing] [preprocessor.footnote] + +# [preprocessor.inline-highlighting] +# default-language = "c" + +[preprocessor.pagetoc] -- cgit v1.2.3-70-g09d2