[Docs] Link docs to code: View-source buttons, snippet imports by path, edit-page links
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp, github
調査の方向性
Start with docs/astro.config.mjs and the project pages under docs/src/content/docs/**/*.mdx; check how Starlight configures edit links and how the build can read repository files. Then determine how snippets can link to the built commit and fail on missing paths or ranges. Done means snippets appear on at least three pages, every project page has a working source link, and the build rejects a missing snippet path.
索引モデルが issue の本文から書いたものです。
説明
Summary
Code shown in the docs is pasted by hand and can drift from the repo; 17 project pages have no source link; there is no 'edit this page' link.
Location
docs/src/content/docs/**/*.mdxdocs/astro.config.mjs
Evidence
Starlight editLink not configured; lastUpdated off. 17/35 project pages have no github.com/ibra-kdbra/Math-Problems/tree/... link (see page-template issue).
Expected
Every code block that shows repository code is imported from the file at build time and links to the exact lines on GitHub at the built commit.
Proposed fix
<SourceLink path line?>and<ProjectFacts>(from manifest) render 'View source' buttons.<Snippet file="Math_Chaos/Lorenz-Attractor/solver.cpp" lines="10-42" />: reads the file at build time (Vite?rawor fs), renders via Expressive Code with a caption linking toblob/<sha>/path#L10-L42; build fails if the file or range disappears.- Edit-this-page and last-updated (git) in the layout footer.
Acceptance criteria
-
<Snippet>used on at least 3 pages - Build fails on a missing snippet path
- Every project page shows a working View-source link
Repository audit, November 2026 · Phase 7 · Docs platform · evidence: reproduced · ref platform-030
Generated by Claude Code
- 主要言語
- C++
- スター
- 2
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ibra-kdbra/Math-Problems のほかの issue
-
area: security-algorithms priority: P1 size: XS type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
ibra-kdbra/Math-Problems#417 ·
-
area: math-chaos priority: P3 size: S type: enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ibra-kdbra/Math-Problems#397 ·
-
area: docs-site good first issue priority: P3 size: XS type: chore
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ibra-kdbra/Math-Problems#379 ·
-
area: docs-site good first issue priority: P3 size: XS type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ibra-kdbra/Math-Problems#378 ·
-
area: docs-site good first issue priority: P2 size: XS type: chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ibra-kdbra/Math-Problems#367 ·
ibra-kdbra/Math-Problems の issue をすべて見る
似ている issue
-
TransformInteract: a circle drag through the centre sets Scale to its minimum, which can't grow backオープンdifficulty:easy prio:low type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NatronGitHub/openfx-supportext#311 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CachyOS/packageinstaller#211 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenEmu-Silicon/OpenEmu-Silicon#920 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100