Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/_includes/nav_footer_custom.html
Original file line number Diff line number Diff line change
@@ -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.