From f9536a2400b2e8fbbb7b0d12de235654ef0ad8ea Mon Sep 17 00:00:00 2001 From: Wes Biggs <40926006+wesbiggs@users.noreply.github.com> Date: Tue, 14 Jan 2025 12:37:36 -0600 Subject: [PATCH] Fix deploy path issue (#295) Issue with relative links on nav due to version changes on mdbook --------- Co-authored-by: Wes Biggs --- .../common/set-up-mdbook/action.yaml | 2 +- book.toml | 3 - theme/index.hbs | 312 ------------------ 3 files changed, 1 insertion(+), 316 deletions(-) delete mode 100644 theme/index.hbs diff --git a/.github/workflows/common/set-up-mdbook/action.yaml b/.github/workflows/common/set-up-mdbook/action.yaml index 24aaa3f6..10dc8599 100644 --- a/.github/workflows/common/set-up-mdbook/action.yaml +++ b/.github/workflows/common/set-up-mdbook/action.yaml @@ -11,7 +11,7 @@ runs: uses: jontze/action-mdbook@0765bef0c7c5792f93bf3ed3d487a0ca32c9da33 with: token: ${{ inputs.token }} - mdbook-version: "~0.4.37" # Use a semver compatible string + mdbook-version: "~0.4.42" # Use a semver compatible string # Optional Plugins have to be enabled use-linkcheck: true linkcheck-version: "~0.7.7" diff --git a/book.toml b/book.toml index b81433a9..6c0e4009 100644 --- a/book.toml +++ b/book.toml @@ -21,6 +21,3 @@ exclude = ['en\.bitcoin\.it', 'github\.com/LibertyDSNP/spec', 'w3\.org'] [output.html.fold] enable = true - -# https://github.com/jonahgoldwastaken/mdbook-external-links -# [preprocessor.external-links] diff --git a/theme/index.hbs b/theme/index.hbs deleted file mode 100644 index 37f22767..00000000 --- a/theme/index.hbs +++ /dev/null @@ -1,312 +0,0 @@ - - - - - - {{ title }} - {{#if is_print }} - - {{/if}} - {{#if base_url}} - - {{/if}} - - - - {{> head}} - - - - - - - {{#if favicon_svg}} - - {{/if}} - {{#if favicon_png}} - - {{/if}} - - - - {{#if print_enable}} - - {{/if}} - - - - {{#if copy_fonts}} - - {{/if}} - - - - - - - - {{#each additional_css}} - - {{/each}} - - {{#if mathjax_support}} - - - {{/if}} - - - - - - - - - - - - - - - - -
- -
- {{> header}} - - - - {{#if search_enabled}} - - {{/if}} - - - - -
-
- {{{ content }}} -
- - -
-
- - - -
- - {{#if livereload}} - - - {{/if}} - - {{#if google_analytics}} - - - {{/if}} - - {{#if playground_line_numbers}} - - {{/if}} - - {{#if playground_copyable}} - - {{/if}} - - {{#if playground_js}} - - - - - - {{/if}} - - {{#if search_js}} - - - - {{/if}} - - - - - - - {{#each additional_js}} - - {{/each}} - - {{#if is_print}} - {{#if mathjax_support}} - - {{else}} - - {{/if}} - {{/if}} - - -