mirror of
https://github.com/ebrandi/FDD-book.git
synced 2026-12-06 08:33:30 +00:00
docs(book): add Chapter 6 draft (Anatomy of a FreeBSD Driver)
Adds the full draft of Chapter 6. This chapter has had only a single review so far; readers should expect further edits and refinements before the final book release. Known issue: - In the generated PDF, some code blocks appear before the section titles they belong to. This seems to be a Pandoc rendering quirk. I’ll investigate and fix later; for now, treat the Markdown as the source of truth. No functional changes to earlier chapters.
This commit is contained in:
parent
c797046ae2
commit
915fb8df92
3 changed files with 16003 additions and 10 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
title: "Writing Your First Driver"
|
title: "Writing Your First Driver"
|
||||||
|
description: "From foundations to first success: build and test your first FreeBSD device driver."
|
||||||
author: "Edson Brandi"
|
author: "Edson Brandi"
|
||||||
date: "2025-08-01"
|
date: "2025-11-01"
|
||||||
status: "planned"
|
status: "draft"
|
||||||
part: 2
|
part: 2
|
||||||
chapter: 7
|
chapter: 7
|
||||||
reviewer: "TBD"
|
reviewer: "TBD"
|
||||||
|
|
@ -10,5 +11,4 @@ translator: "TBD"
|
||||||
estimatedReadTime: 28
|
estimatedReadTime: 28
|
||||||
---
|
---
|
||||||
|
|
||||||
planned
|
This chapter is being written...
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ cd "$ROOT_DIR"
|
||||||
# Book information
|
# Book information
|
||||||
BOOK_TITLE="FreeBSD Device Drivers"
|
BOOK_TITLE="FreeBSD Device Drivers"
|
||||||
BOOK_AUTHOR="Edson Brandi"
|
BOOK_AUTHOR="Edson Brandi"
|
||||||
BOOK_DATE="DRAFT Version 1.1 - October, 13th 2025"
|
BOOK_DATE="DRAFT Version 1.2 - November 1, 2025"
|
||||||
|
|
||||||
# File paths
|
# File paths
|
||||||
TITLE_FILE="$SCRIPT_DIR/title.md"
|
TITLE_FILE="$SCRIPT_DIR/title.md"
|
||||||
|
|
@ -298,7 +298,7 @@ build_pdf() {
|
||||||
--pdf-engine=xelatex \
|
--pdf-engine=xelatex \
|
||||||
--from markdown+fenced_code_blocks \
|
--from markdown+fenced_code_blocks \
|
||||||
--toc \
|
--toc \
|
||||||
--toc-depth=2 \
|
--toc-depth=3 \
|
||||||
--number-sections \
|
--number-sections \
|
||||||
--metadata title="$BOOK_TITLE" \
|
--metadata title="$BOOK_TITLE" \
|
||||||
--metadata author="$BOOK_AUTHOR" \
|
--metadata author="$BOOK_AUTHOR" \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue