Skip to content

Commit d71ae5c

Browse files
committed
docs: add footer with CNCF trademark notice
Signed-off-by: Joseph Marrero Corchado <jmarrero@redhat.com>
1 parent 8e2cf08 commit d71ae5c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ jobs:
5252
- name: Setup Pages
5353
id: pages
5454
uses: actions/configure-pages@v5
55+
- name: Install mdbook_header_footer
56+
run: |
57+
cargo install mdbook_header_footer
5558
- name: Build with mdBook
5659
run: cd docs && mdbook-mermaid install && mdbook build
5760
- name: Upload artifact

docs/book.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ title = "bootc"
88
[preprocessor.mermaid]
99
command = "mdbook-mermaid"
1010

11+
[preprocessor.header-footer]
12+
headers = []
13+
footers = [
14+
{ padding = "\n---\n<p style=\"font-size:11px\">The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see <a href=\"https://www.linuxfoundation.org/trademark-usage/\">Trademark Usage.</a></p>" }
15+
]
16+
1117
[output.html]
1218
additional-js = ["mermaid.min.js", "mermaid-init.js"]
1319

0 commit comments

Comments
 (0)