Skip to content

Commit 5229fbb

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

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-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

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ Matrix channel and a weekly video call meeting for example: <https://docs.fedora
4545
Are you interested in working on bootc? Great! See our [CONTRIBUTING.md](CONTRIBUTING.md) guide.
4646
There is also a list of [MAINTAINERS.md](MAINTAINERS.md).
4747

48+
---
49+
The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see [Trademark Usage](https://www.linuxfoundation.org/trademark-usage/).

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)