Skip to content

[Docs]: Missing glob matching pattern support description in the documentation of the include and exclude configuration options #9696

@brlin-tw

Description

@brlin-tw

Motivation

Currently in the Configuration Options | Jekyll • Simple, blog-aware, static sites documentation there's no mention of the support of File::Fnmatch filename glob matching.

One has to dig into this issue and this pull request to learn the implementation details, we should add proper documentation to avoid these hoops.

Suggestion

Edit jekyll/docs/_data/config_options/global.yml at master · jekyll/jekyll and add the description to the related options.

It should also mention that to exclude a filename(pattern) in all depths the exclude config option should be set in the following fashion:

exclude:
  - README.md
  - '**/README.md'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions