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

[Contribs plugin] Any support for excluding folders #33

Open
jravinder opened this issue Feb 2, 2023 · 2 comments
Open

[Contribs plugin] Any support for excluding folders #33

jravinder opened this issue Feb 2, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@jravinder
Copy link

Thanks for the plugins!!
Are there any plans to exclude folders for obtaining contributor information?

@RobertoPrevato
Copy link
Member

Hi @jravinder
Sorry for the late response. I like your idea!
Do you mean something like:

  - neoteroi.contribs:
      exclude:
        - "example/*.md"
        - "some-page.md"

I plan to make some changes to the library soon, I might include this feature.

@RobertoPrevato
Copy link
Member

RobertoPrevato commented Apr 26, 2023

Hi @jravinder
This feature is now available. It took me a long time because I focused more on my web framework lately, and some other libraries.

You can exclude folders or files this way:

  - neoteroi.contribs:
      exclude:
        - "index.md"

Glob patterns are supported, like:

  - neoteroi.contribs:
      exclude:
        - "index.md"
        - "folder/some*"

Leaving this issue open as I still need to document this feature.

Please upgrade the library. 😄

pip install -U neoteroi-mkdocs

It also includes more improvements and features for the contribs plugin.

@RobertoPrevato RobertoPrevato added the documentation Improvements or additions to documentation label Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants