From cbe0d8d8beec3cff6d6fa42ae07c52ef49ba50d0 Mon Sep 17 00:00:00 2001 From: Wes Biggs Date: Mon, 13 Jan 2025 21:31:50 -0600 Subject: [PATCH 1/2] Revert workflow in attempt to fix odd formatting issue --- .github/workflows/common/set-up-mdbook/action.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common/set-up-mdbook/action.yaml b/.github/workflows/common/set-up-mdbook/action.yaml index e40fc825..24aaa3f6 100644 --- a/.github/workflows/common/set-up-mdbook/action.yaml +++ b/.github/workflows/common/set-up-mdbook/action.yaml @@ -8,8 +8,14 @@ runs: using: "composite" steps: - name: Setup mdBook 📚 - shell: bash - run: cargo install mdbook mdbook-linkcheck mdbook-external-links + uses: jontze/action-mdbook@0765bef0c7c5792f93bf3ed3d487a0ca32c9da33 + with: + token: ${{ inputs.token }} + mdbook-version: "~0.4.37" # Use a semver compatible string + # Optional Plugins have to be enabled + use-linkcheck: true + linkcheck-version: "~0.7.7" + - name: Show mdbook version shell: bash run: mdbook --version From a6d02eaeb298ebd9fe1d21ec54392fe931634b5a Mon Sep 17 00:00:00 2001 From: Wes Biggs Date: Tue, 14 Jan 2025 12:35:23 -0600 Subject: [PATCH 2/2] Revert to deafult theme/index.hbs --- .../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}} - - -