Skip to content

Customize docs footer links#6

Merged
JamestsaiTW merged 1 commit into
mainfrom
build_site
Jun 13, 2026
Merged

Customize docs footer links#6
JamestsaiTW merged 1 commit into
mainfrom
build_site

Conversation

@JamestsaiTW

Copy link
Copy Markdown
Owner

Why

The docs footer needed direct links to the original olivomarco site and this repository so visitors can reach both sources from any page.

What changed

Added a custom Material for MkDocs footer override that keeps the existing previous/next navigation, inserts an olivomarco website link in the center, and adds a GitHub repo icon on the right.

Updated MkDocs config to store the footer URLs in extra, and added footer-specific CSS so the layout stays centered, responsive, and uses smaller text and icon sizing as requested.

Notes

N/A

Add footer override for the docs site so the original olivomarco website link appears in the center and a smaller GitHub repository icon appears on the right.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 13, 2026 10:54
@JamestsaiTW JamestsaiTW merged commit e7c62db into main Jun 13, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Docs site footer customization. Add always-visible links to original olivomarco site + this repo, without breaking Material prev/next nav.

Changes:

  • Add extra.original_site_url + extra.footer_repo_url in MkDocs config
  • Add Material footer partial override to render center link + right-side GitHub icon
  • Add footer CSS for centered grid layout + responsive stacking

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
mkdocs.yml Add footer link URLs under extra for template consumption
docs/stylesheets/extra.css Add footer grid + link/icon styling + responsive rules
docs/overrides/partials/footer.html Override Material footer to inject origin link + repo icon while keeping prev/next

@JamestsaiTW JamestsaiTW deleted the build_site branch June 13, 2026 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants