From 0efe342e1f9de174a47bf7f6b459cf03d0670301 Mon Sep 17 00:00:00 2001 From: Yvan Grabit Date: Fri, 13 Dec 2024 09:59:43 +0100 Subject: [PATCH] [fix] use last index.hbs (navigation changed in mdbook with new version) --- book.toml | 5 +++ theme/index.hbs | 83 ++++++++++++++++++++----------------------------- 2 files changed, 39 insertions(+), 49 deletions(-) diff --git a/book.toml b/book.toml index 5b0b6caf..06c70b3a 100644 --- a/book.toml +++ b/book.toml @@ -4,6 +4,7 @@ language = "en" multilingual = false src = "src" title = "VST 3 Developer Portal" +text-direction = "ltr" [build] build-dir = "book" @@ -26,6 +27,10 @@ default-theme = "steinberg-light" preferred-dark-theme = "steinberg-dark" additional-js = ["mermaid.min.js", "mermaid-init.js"] +[output.html.print] +enable = true # include support for printable output +page-break = true # insert page-break after each chapter + [output.linkcheck] optional = true diff --git a/theme/index.hbs b/theme/index.hbs index 764b9e58..f19dc18a 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -1,11 +1,11 @@ - + {{ title }} {{#if is_print }} - + {{/if}} {{#if base_url}} @@ -17,7 +17,7 @@ - + {{#if favicon_svg}} @@ -57,15 +57,17 @@ {{/if}} - - -
+ - + + + + +
+ + - - -
@@ -145,9 +130,9 @@ - - + +
{{#if live_reload_endpoint}}