Publish the docs as pages of the site instead of linking to GitHub file views
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 20/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, go
- 領域
- ci-cd, documentation
研究方向
Start with docs/index.html, which links to nine github.com/.../blob/main/docs/*.md views, and with the Assemble step in .github/workflows/pages.yml, which copies only the landing page assets. The open question is the rendering approach, which needs a maintainer decision and a dependency note in docs/ARCHITECTURE.md. Done means each published document has a page under the site, links stay inside the site, and the workflow redeploys on document changes.
由索引模型根據 Issue 內容生成。
描述
Summary
The Pages site is one page. Every documentation link on it (configuration, findings, CI, MCP, privacy, architecture, benchmark, comparison) leaves the site for a github.com/.../blob/main/docs/*.md view. A visitor who wants to read the docs loses the site's navigation and lands in the repository file browser.
Where
docs/index.html(9 links tohttps://github.com/TMHSDigital/Spackle/blob/main/docs/...).github/workflows/pages.yml(the "Assemble the site" step copies onlyindex.html,404.html,assets/and the favicon)docs/*.md(nine documents that are not published)
Proposal
Publish the Markdown documents as pages of the site, in the same look as the landing page.
Open questions, for the maintainer to decide:
- How to render. The repository's rule is that the standard library is the default. A small Go tool under
tools/could render the documents at deploy time, but it needs a Markdown renderer, which is a new module with a reason to record indocs/ARCHITECTURE.md. The alternative is a docs generator run only in the workflow, which adds no module togo.mod. - Which documents.
docs/superpowers/holds the design specification and plan and probably stays in the repository only. - Content security policy. The landing page allows no scripts. Rendered docs should keep that.
Who benefits
People evaluating the tool from the site, who today have to read reference material in the GitHub file view, and search engines, which index the site and the repository separately.
Acceptance criteria
- Each published document has a URL under the site, with the site header and a link back.
- Links between documents and from
index.htmlstay inside the site. - The pages workflow redeploys when a published document changes.
- A
sitemap.xmllists the pages once there is more than one.
Getting started
- Relevant files:
docs/index.html,docs/*.md,.github/workflows/pages.yml - Related docs:
docs/ARCHITECTURE.md(dependency policy)
Filed by repo-audit/pages-audit at 6b22f82. Severity: low. Effort: M. audit-key: enhancement|docs/index.html|rendered-docs-pages
- 主要語言
- Go
- 星號
- 0
- 分支
- 1
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
TMHSDigital/Spackle 的其他 Issue
-
enhancement good first issue severity: low
難度 2/5 半天 新手友好度 72/100
TMHSDigital/Spackle#139 ·
-
enhancement good first issue severity: low
難度 2/5 1-3 小時 新手友好度 72/100
TMHSDigital/Spackle#138 ·
-
documentation good first issue severity: low
難度 2/5 1-3 小時 新手友好度 78/100
TMHSDigital/Spackle#135 ·
-
bug good first issue severity: low
難度 2/5 1-3 小時 新手友好度 72/100
TMHSDigital/Spackle#131 ·
-
bug good first issue severity: low
難度 2/5 1-3 小時 新手友好度 78/100
TMHSDigital/Spackle#129 ·
查看 TMHSDigital/Spackle 的全部 Issue
相似的 Issue
-
bug raised-by:reviewer
難度 2/5 1-3 小時 新手友好度 66/100
medici-finance/assay#7655 ·
維護者通常 1 天內回覆
-
helm chart: make DaemonSet pod affinity configurable via values.yaml可能已有人在做 @Young-Zen 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
flannel-io/flannel#2632 ·
維護者通常 6 天內回覆
-
go-vulnerability security-scan
難度 1/5 1 小時以內 新手友好度 72/100
teslashibe/agent-go#36 ·
-
enhancement
難度 2/5 1-3 小時 新手友好度 72/100
nwverse/persona#15194 · 1 則留言 ·
維護者通常 1 天內回覆
-
bug flaky-test
難度 2/5 1-3 小時 新手友好度 78/100
rosskukulinski/tailworks#411 ·
維護者通常 1 天內回覆