Skip to content

Commit

Permalink
Logging as a single chapter.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gdamore committed Oct 19, 2024
1 parent 8f42f78 commit 663d83b
Show file tree
Hide file tree
Showing 8 changed files with 185 additions and 232 deletions.
9 changes: 8 additions & 1 deletion docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
7 changes: 1 addition & 6 deletions docs/ref/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@
- [nng_mtx](./api/thr/nng_mtx.md)
- [nng_thread](./api/thr/nng_thread.md)

- [Logging](./api/log/index.md)

- [nng_log](./api/log/nng_log.md)
- [nng_log_facility](./api/log/nng_log_facility.md)
- [nng_log_level](./api/log/nng_log_level.md)
- [nng_log_logger](./api/log/nng_log_logger.md)
- [Logging](./api/logging.md)

- [Statistics](./api/stat/index.md)

Expand Down
9 changes: 0 additions & 9 deletions docs/ref/api/log/index.md

This file was deleted.

75 changes: 0 additions & 75 deletions docs/ref/api/log/nng_log.md

This file was deleted.

47 changes: 0 additions & 47 deletions docs/ref/api/log/nng_log_facility.md

This file was deleted.

47 changes: 0 additions & 47 deletions docs/ref/api/log/nng_log_level.md

This file was deleted.

47 changes: 0 additions & 47 deletions docs/ref/api/log/nng_log_logger.md

This file was deleted.

Loading

0 comments on commit 663d83b

Please sign in to comment.