Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching for excluded_patterns in .index.yml #1847

Open
andyw8 opened this issue Mar 27, 2024 · 0 comments
Open

Matching for excluded_patterns in .index.yml #1847

andyw8 opened this issue Mar 27, 2024 · 0 comments

Comments

@andyw8
Copy link
Contributor

andyw8 commented Mar 27, 2024

As mentioned in #1827

Let's say we have a file abc.rb that we want to exclude from indexing.

If we try exclude it in index.yml with:

excluded_patterns:
  - "abc.rb"

or

excluded_patterns:
  - "/abc.rb"

then it will still be indexed. Instead we need to write:

excluded_patterns:
  - "**/abc.rb"

which is not so obvious, and is different from other exclusion mechanism such as .gitignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant