Allow excluding selected Markdown files from pkgdown websites
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- r
調査の方向性
Start by reading the code behind pkgdown::build_home() and the existing _pkgdown.yml home configuration. Trace how root and .github/ Markdown files are selected and where those files enter website generation; the issue names no implementation files or tests. Done means configured paths and glob patterns are excluded before rendering and do not appear in the generated site, search index, sitemap, or LLM documentation.
索引モデルが issue の本文から書いたものです。
説明
Feature request: Allow excluding selected Markdown files from pkgdown websites
Problem
Currently, pkgdown::build_home() automatically renders Markdown files from the package root and .github/, excluding only a hard-coded list of filenames.
Consequently, development files such as AGENTS.md, STYLE.md, and .github/copilot-instructions.md are automatically published as HTML pages on the package website.
These files contain instructions for AI coding agents and maintainers, not documentation intended for end users.
The generated pages can also appear in the website's search index, sitemap, and LLM-oriented documentation.
Excluding them through .Rbuildignore has no effect.
Proposed solution
Provide a configuration option in _pkgdown.yml to exclude selected Markdown files from website generation.
For example:
home:
exclude:
- AGENTS.md
- STYLE.md
- .github/copilot-instructions.md
The files should be excluded before rendering, so they do not enter the generated website, search index, sitemap, or LLM documentation.
Ideally, the option would support paths relative to the repository root and glob patterns.
Rationale
Files such as AGENTS.md increasingly need to remain in standard repository locations for compatibility with AI coding agents.
Publishing them as documentation pages is unnecessary and potentially undesirable, even when the files themselves are publicly accessible in the source repository.
An explicit exclusion option would be more reliable and maintainable than temporary file renaming or post-build cleanup.
- 主要言語
- R
- スター
- 777
- フォーク
- 360
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
r-lib/pkgdown のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 62/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
hubverse-org/hubDevs#83 ·
-
data_bio2rarify - doc - dimensions wrong対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
leppott/BioMonTools#162 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信