Exclude specific paths from a source
mainIf a directory contains material that belongs to a different package, use exclude_paths to prune it.
- Patterns: Use glob-style patterns (
*for a single segment,**for across segments). - Context: Patterns are matched against the path relative to
docs_path(or the repository root ifdocs_pathis not set). - Best Practice: Prefer narrowing the
docs_pathif the content is already isolated. Useexclude_pathswhen a widerdocs_pathwould pull in unwanted sibling content (like a different language or framework).
source:
type: git
url: https://github.com/godotengine/godot-docs
ref: stable
exclude_paths:
- "tutorials/scripting/c_sharp/**"