danodic-dev / mkdocs-backlinks

A plugin for adding backlinks to mkdocs.
MIT License
15 stars 2 forks source link

Adds regex support in the exclusion list #11

Open CVanmarcke opened 1 month ago

CVanmarcke commented 1 month ago

This option adds the configuration option to exclude certain pages based on RegEx patterns.

A new config option is added: ignored_regex

Example usage in mkdocs.yml :

plugins:
  - mkdocs-backlinks:
      ignored_regex: ['^tag: .+$' ] # excludes all pages with title starting with tag: