Page MenuHomeFreeBSD

fdp-primer: reduce confusion around section levels
Needs ReviewPublic

Authored by grahamperrin on Nov 30 2022, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 7:50 PM
Unknown Object (File)
Dec 23 2023, 10:19 AM
Unknown Object (File)
Dec 13 2023, 8:20 AM
Unknown Object (File)
Nov 22 2023, 11:36 PM
Unknown Object (File)
Nov 22 2023, 11:00 PM
Unknown Object (File)
Nov 22 2023, 10:49 PM
Unknown Object (File)
Nov 16 2023, 6:52 AM
Unknown Object (File)
Nov 14 2023, 2:23 AM
Subscribers

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

grahamperrin created this revision.
carlavilla added a subscriber: carlavilla.

Perfect, thanks!

This revision is now accepted and ready to land.Nov 30 2022, 5:11 PM
grahamperrin added inline comments.
documentation/content/en/books/fdp-primer/structure/_index.adoc
155–157

Some wrongness, maybe due to me working with split (not my usual preference) during part of this review.

When a book is viewed as a book, in its entirety:

  • <h2> is used for a chapter (not a section thereof)
  • <h3> is used for the first logical section of a chapter

{F52387089}

AsciiDoc Language Documentation at Asciidoctor Docs – https://docs.asciidoctor.org/asciidoc/latest/ – is definitive, and clear.

Gut feeling: if it's not easy to paraphrase, accurately, what's definitive, then we should remove what's wrong from this book and allow readers to learn from the definitive point of reference.

documentation/content/en/books/fdp-primer/structure/_index.adoc
151

The implication: all books have multiple parts.

Maybe truer to say that a book can have more than one part.

Book Parts | Asciidoctor Docs

  • each chapter is == (AsciiDoc section level 1), not =.

If I understand correctly, FreeBSD Documentation Project Primer for New Contributors is:

  • doctype book and not a not a multi-part book

– it has only one part, with AsciiDoc section level 0 used for its first chapter.

https://cgit.freebsd.org/doc/tree/documentation/content/en/books/fdp-primer/overview/_index.adoc#n13:

= Overview

– and so on.