Skip to content

Commit

Permalink
fix: mdbook update 2
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 9b8b64b commit c8e8410
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 451 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/mdbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
name: Install mdbook
env:
CARGO_HOME: ./cargo
# run: 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
run: 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
run: cargo install --locked --force mdbook@0.4.40 mdbook-admonish@1.18.0 mdbook-variables@0.2.4 mdbook-toc@0.14.2 mdbook-pagetoc@0.2.0

install-tfdocs:
environment:
Expand Down Expand Up @@ -75,7 +74,7 @@ jobs:
run: |
export PATH=${PWD}/cargo/bin:${PATH}
cd docs
mdbook-admonish install
mdbook-admonish install --css-dir src/css
- name: Generate docs
shell: bash
env:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ 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.17.1 mdbook-variables@0.2.4 mdbook-toc@0.14.2 mdbook-pagetoc@0.2.0

cargo install --locked --force mdbook@0.4.40 mdbook-admonish@1.18.0 mdbook-variables@0.2.4 mdbook-toc@0.14.2 mdbook-pagetoc@0.2.0 && \
cd docs && mdbook-admonish install --css-dir src/css
.PHONY: mdbuild
mdbuild: mdbook tfdocs ## Generate documention
mdbook build docs
Expand Down
2 changes: 1 addition & 1 deletion 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", "./mdbook-admonish.css"]
additional-css = ["./src/css/mdbook-admonish.css", "theme/pagetoc.css"]
additional-js = ["theme/pagetoc.js"]
default-theme = "light"

Expand Down
348 changes: 0 additions & 348 deletions docs/mdbook-admonish.css

This file was deleted.

Loading

0 comments on commit c8e8410

Please sign in to comment.