mkdocs-plugins icon indicating copy to clipboard operation
mkdocs-plugins copied to clipboard

[Contribs plugin] Any support for excluding folders

Open jravinder opened this issue 2 years ago • 2 comments

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

jravinder avatar Feb 02 '23 23:02 jravinder

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 avatar Feb 09 '23 15:02 RobertoPrevato

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 avatar Apr 26 '23 13:04 RobertoPrevato