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 <[email protected]>
  • 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 [email protected] [email protected] [email protected] [email protected] [email protected]
run: cargo install --locked --force [email protected] [email protected] [email protected] [email protected] [email protected]
run: cargo install --locked --force [email protected] [email protected] [email protected] [email protected] [email protected]

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 [email protected].34 mdbook-admonish@1.17.1 [email protected] [email protected] [email protected]

cargo install --locked --force [email protected].40 mdbook-admonish@1.18.0 [email protected] [email protected] [email protected] && \
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.