| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Adds support for a .pkgdownignore file that allows users to exclude specific markdown files from being rendered to HTML during site builds. The file uses a simple format (one filename per line, # comments supported) and can be placed in the package root, pkgdown/, or _pkgdown/ directories. Files from all locations are combined. Closes r-lib#2959
| Back | FazBrowse Home | New Git URL |
Summary
This PR adds support for a .pkgdownignore file that allows users to exclude specific markdown files from being rendered to HTML during build_home().
Fixes #2959
Motivation
With the rise of AI coding assistants, developers are increasingly adding files like CLAUDE.md, AGENTS.md, and COPILOT.md to their package roots. These files are developer-facing and shouldn't appear in user documentation or site search results.
Currently, there's no way to exclude arbitrary markdown files from pkgdown builds. The only options are:
Solution
A simple .pkgdownignore file that lists filenames to exclude:
Changes
Example
In the build output: