Skip to content

Commit

Permalink
fix: updated mdbook component version in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
  • Loading branch information
hyder committed Jul 5, 2024
1 parent 6872f9a commit 9b8b64b
Show file tree
Hide file tree
Showing 4 changed files with 356 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/mdbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
name: github-pages
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
- uses: actions/cache@v4
continue-on-error: true
id: cache-mdbook
with:
Expand All @@ -40,7 +40,7 @@ jobs:
name: github-pages
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v3
- uses: actions/cache@v4
id: cache-tfdocs
with:
key: tfdocs
Expand All @@ -58,13 +58,13 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
continue-on-error: true
with:
key: mdbook
path: ./cargo/**/*
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
key: tfdocs
path: ./tfdocs/terraform-docs
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ tfdocs: terraform-docs iam.tfdocs network.tfdocs bastion.tfdocs cluster.tfdocs w

.PHONY: mdbook
mdbook:
cargo install --locked --force mdbook@0.4.34 mdbook-admonish@1.10.2 mdbook-variables@0.2.2 mdbook-toc@0.14.1 mdbook-pagetoc@0.1.7
cargo install --locked --force mdbook@0.4.34 mdbook-admonish@1.17.1 mdbook-variables@0.2.4 mdbook-toc@0.14.2 mdbook-pagetoc@0.2.0

.PHONY: mdbuild
mdbuild: mdbook tfdocs ## Generate documention
Expand Down
4 changes: 2 additions & 2 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title = "Terraform OCI module for OKE"
[output.html]
curly-quotes = false
git-repository-url = "https://github.com/oracle-terraform-modules/terraform-oci-oke"
additional-css = ["./src/css/mdbook-admonish.css", "theme/pagetoc.css"]
additional-css = ["./src/css/mdbook-admonish.css", "theme/pagetoc.css", "./mdbook-admonish.css"]
additional-js = ["theme/pagetoc.js"]
default-theme = "light"

Expand All @@ -25,4 +25,4 @@ max-level = 3
[preprocessor.pagetoc]

[preprocessor.variables]
use_env = true
use_env = true
Loading

0 comments on commit 9b8b64b

Please sign in to comment.