Skip to content

Commit c8e8410

Browse files
committed
fix: mdbook update 2
Signed-off-by: Ali Mukadam <[email protected]>
1 parent 9b8b64b commit c8e8410

File tree

6 files changed

+98
-451
lines changed

6 files changed

+98
-451
lines changed

.github/workflows/mdbook.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
name: Install mdbook
3333
env:
3434
CARGO_HOME: ./cargo
35-
36-
35+
3736

3837
install-tfdocs:
3938
environment:
@@ -75,7 +74,7 @@ jobs:
7574
run: |
7675
export PATH=${PWD}/cargo/bin:${PATH}
7776
cd docs
78-
mdbook-admonish install
77+
mdbook-admonish install --css-dir src/css
7978
- name: Generate docs
8079
shell: bash
8180
env:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ tfdocs: terraform-docs iam.tfdocs network.tfdocs bastion.tfdocs cluster.tfdocs w
8383

8484
.PHONY: mdbook
8585
mdbook:
86-
cargo install --locked --force [email protected].34 mdbook-admonish@1.17.1 [email protected] [email protected] [email protected]
87-
86+
cargo install --locked --force [email protected].40 mdbook-admonish@1.18.0 [email protected] [email protected] [email protected] && \
87+
cd docs && mdbook-admonish install --css-dir src/css
8888
.PHONY: mdbuild
8989
mdbuild: mdbook tfdocs ## Generate documention
9090
mdbook build docs

docs/book.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title = "Terraform OCI module for OKE"
88
[output.html]
99
curly-quotes = false
1010
git-repository-url = "https://github.com/oracle-terraform-modules/terraform-oci-oke"
11-
additional-css = ["./src/css/mdbook-admonish.css", "theme/pagetoc.css", "./mdbook-admonish.css"]
11+
additional-css = ["./src/css/mdbook-admonish.css", "theme/pagetoc.css"]
1212
additional-js = ["theme/pagetoc.js"]
1313
default-theme = "light"
1414

docs/mdbook-admonish.css

Lines changed: 0 additions & 348 deletions
This file was deleted.

0 commit comments

Comments
 (0)