Merge pull request #528 from koic/replace_the_nav_footer_theme_attribution

[Doc] Replace the theme attribution in the nav footer
This commit is contained in:
Koichi ITO 2026-08-24 17:38:37 +09:00 • committed by GitHub
commit 9cd1041e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 <a href="https://rubygems.org/gems/mcp/versions/{{ site.data.versions | first }}">mcp {{ site.data.versions | first }}</a>,
licensed <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.
{% else %}
Documentation licensed <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.
{% endif %}
See <a href="https://github.com/modelcontextprotocol/ruby-sdk/blob/main/LICENSE">LICENSE</a> for the code.