From 2b8e9668420fe7dc3e17aa9a15e7f61b5a373fbb Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 10 Aug 2026 11:15:44 +0900 Subject: [PATCH 1/4] 1.0: Ignore working directory (_build) Signed-off-by: Kentaro Hayashi --- .bookignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.bookignore b/.bookignore index 3d612821..c9ec4483 100644 --- a/.bookignore +++ b/.bookignore @@ -3,4 +3,5 @@ *.sh *.mmd #* +_build From 1f64aca072c9e6b54bc73f983bc6a91669f3ba24 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 10 Aug 2026 11:17:15 +0900 Subject: [PATCH 2/4] 1.0: add missing redirects for 0.12 and 1.0 Signed-off-by: Kentaro Hayashi --- netlify.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/netlify.toml b/netlify.toml index 72fccfe2..e3424e43 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,3 +7,13 @@ to = "/assets/:splat" status = 200 +[[redirects]] + from = "/0.12/.gitbook/assets/*" + to = "/0.12/assets/:splat" + status = 200 + +[[redirects]] + from = "/1.0/.gitbook/assets/*" + to = "/1.0/assets/:splat" + status = 200 + From f231d298e4b68fe026775cde33e8055c63ea0095 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 10 Aug 2026 11:18:45 +0900 Subject: [PATCH 3/4] 1.0: drop needless fixup Signed-off-by: Kentaro Hayashi --- scripts/build.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index 553e3288..fc14bac8 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -44,12 +44,6 @@ git worktree add _build/1.0 origin/1.0 cp -f book.json FOOTER.md _build/0.12 cp -r styles _layouts _build/0.12/ cp -f book.json _build/1.0 -# TODO: Remove it when honkit migration branch was merged -if [ "${HONKIT_ENV}" = "dev" ]; then - cp FOOTER.md _build/1.0/ - rsync -avz styles/ _build/1.0/styles/ - rsync -avz _layouts/ _build/1.0/_layouts/ -fi info "Building latest branch" npx honkit build From a12683834756bf11a1bf4636822feb2de1a42ebd Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Mon, 10 Aug 2026 11:20:36 +0900 Subject: [PATCH 4/4] 1.0: Fix title for 0.12 documentation Signed-off-by: Kentaro Hayashi --- scripts/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/build.sh b/scripts/build.sh index fc14bac8..da7e459f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -42,6 +42,7 @@ git worktree add _build/0.12 origin/0.12 git worktree add _build/1.0 origin/1.0 cp -f book.json FOOTER.md _build/0.12 +sed -i -e 's/Fluentd 1.0/Fluentd 0.12/' _build/0.12/book.json cp -r styles _layouts _build/0.12/ cp -f book.json _build/1.0