Commit 88a8de9
authored
docs: Display license info in footer (#796)
# Description
This PR adds license info to the footer of the docs. Sphinx Stack v2.0
aligns the copyright statement in the footer with legal standards, but
this change was neglected in #794.
Release notes prescription:
```
To incorporate this change in your documentation, add the license information to html_context in your conf.py file:
html_context = {
"license": {
"name": "CC-BY-SA-3.0",
"url": "https://github.com/canonical/sphinx-docs-starter-pack/blob/main/LICENSE",
},
}
```
## Type of change
- Documentation update (change to documentation only)
## How has this been tested?
Tested locally; build passes with no errors or warnings:
make clean && make run: Builds and serves successfully
make spelling: No spelling errors
make woke: No inclusive language issues
make linkcheck: No broken links
<img width="1850" height="941" alt="image"
src="https://github.com/user-attachments/assets/037c1a67-943f-4511-986c-ccc0a4a10705"
/>
## Contributor checklist
Please check that you have:
- [x] self-reviewed the code in this PR
- [x] added code comments, particularly in less straightforward areas
- [ ] checked and added or updated relevant documentation
- [ ] added or updated HTML meta descriptions for any new or modified
documentation pages (see
[#643](#643)) - N/A
- [ ] verified that page title and headings accurately represent page
content for new or modified documentation pages - N/A
- [ ] checked and added or updated relevant release notes
- [ ] added tests to verify effectiveness of this change
Signed-off-by: Sharon Koech <sharon.koech@canonical.com>1 parent ef92337 commit 88a8de9
1 file changed
Lines changed: 14 additions & 3 deletions
File tree
- docs/_templates
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
53 | 64 | | |
54 | 65 | | |
55 | 66 | | |
| |||
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
92 | | - | |
| 103 | + | |
0 commit comments