Skip to content

Commit 9cd1041

Browse files
authored
Merge pull request #528 from koic/replace_the_nav_footer_theme_attribution
[Doc] Replace the theme attribution in the nav footer
2 parents 2a31e0b + 8866317 commit 9cd1041

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{%- comment -%}
2+
Replaces the theme's "This site uses Just the Docs" attribution, shown at
3+
the bottom of the sidebar on desktop and in the page footer on mobile.
4+
_data/versions.yml exists only on the deployed gh-pages tree, where
5+
bin/generate-gh-pages.sh generates it; without it (local previews of
6+
the docs/ source) only the license sentence renders.
7+
{%- endcomment -%}
8+
{% if site.data.versions %}
9+
Documentation for <a href="https://rubygems.org/gems/mcp/versions/{{ site.data.versions | first }}">mcp {{ site.data.versions | first }}</a>,
10+
licensed <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.
11+
{% else %}
12+
Documentation licensed <a href="https://creativecommons.org/licenses/by/4.0/">CC-BY-4.0</a>.
13+
{% endif %}
14+
See <a href="https://github.com/modelcontextprotocol/ruby-sdk/blob/main/LICENSE">LICENSE</a> for the code.

0 commit comments

Comments
 (0)