From 8866317e6283ee2b6127831fce38efae409ca336 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Mon, 24 Aug 2026 11:19:09 +0900 Subject: [PATCH] [Doc] Replace the theme attribution in the nav footer The bottom of the sidebar (and the mobile page footer) showed the theme's fallback line "This site uses Just the Docs, a documentation theme for Jekyll", which tells readers nothing about the SDK. Overriding nav_footer_custom.html replaces it with the release the documentation describes, linking the RubyGems page of the version deployed via _data/versions.yml by bin/generate-gh-pages.sh, and with the licensing: the documentation is CC-BY-4.0 per LICENSE, while the code licensing is delegated to LICENSE itself, whose consent-based MIT to Apache-2.0 transition does not fit a footer phrase. Without versions data (local previews of the docs/ source) only the license sentences render. --- docs/_includes/nav_footer_custom.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/_includes/nav_footer_custom.html diff --git a/docs/_includes/nav_footer_custom.html b/docs/_includes/nav_footer_custom.html new file mode 100644 index 00000000..f366cb00 --- /dev/null +++ b/docs/_includes/nav_footer_custom.html @@ -0,0 +1,14 @@ +{%- comment -%} + Replaces the theme's "This site uses Just the Docs" attribution, shown at + the bottom of the sidebar on desktop and in the page footer on mobile. + _data/versions.yml exists only on the deployed gh-pages tree, where + bin/generate-gh-pages.sh generates it; without it (local previews of + the docs/ source) only the license sentence renders. +{%- endcomment -%} +{% if site.data.versions %} +Documentation for mcp {{ site.data.versions | first }}, +licensed CC-BY-4.0. +{% else %} +Documentation licensed CC-BY-4.0. +{% endif %} +See LICENSE for the code.