docs: Fix double border in the footer
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- css, javascript
調査の方向性
ドキュメントのフッターに使用されている footer.js と style.css を、docs サイトに表示されているフッターから調査します。説明されているフッターの変更を適用し、ドキュメントページで copyright テキストの上に 2 本の境界線が表示されなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
説明
What's broken?
The documentation is wrong or misleading
Where in the spec or docs?
The footer on every docs page.
https://modelcontextprotocol.io/docs
What should happen?
The footer is showing two borders above the copyright text:
I have a fork which fixes it to look like:
Solution
Basically delete footer.js and add this to style.css:
#footer > div:first-of-type::after {
content:
"Copyright © Model Context Protocol a Series of LF Projects, LLC.\A "
"For web site terms of use, trademark policy and other project policies please see https://lfprojects.org.";
/* Fill the row beside the icons; the spacing comes from the row's own gap */
flex: 1;
white-space: pre-line;
text-align: center;
font-size: 0.875rem;
line-height: 1.5;
color: rgb(var(--gray-500));
}
This is the same approach we use on https://getlemma.com/docs to add text to our footer.
I tried to open a pull request but recent changes made PRs collaborator-only. (Understandable honestly!)
- 主要言語
- TypeScript
- スター
- 9.3k
- フォーク
- 1.8k
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/modelcontextprotocol のほかの issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 98/100
modelcontextprotocol/modelcontextprotocol#3373 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
modelcontextprotocol/modelcontextprotocol#3345 · コメント 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
modelcontextprotocol/modelcontextprotocol の issue をすべて見る
似ている issue
-
Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OpenNSW/nsw-srilanka#497 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
react-doctor severity:warning tech-debt
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
digidem/comapeo-cloud-app#403 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100