All Projects β†’ chrieke β†’ mkdocs-exclude-search

chrieke / mkdocs-exclude-search

Licence: MIT license
πŸ”Ž A mkdocs plugin that lets you exclude selected chapters from the search index.

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to mkdocs-exclude-search

mkdocs-section-index
MkDocs plugin to allow clickable sections that lead to an index page
Stars: ✭ 36 (+125%)
Mutual labels:  mkdocs, mkdocs-material, mkdocs-plugin
mkdocs-static-i18n
MkDocs i18n plugin using static translation markdown files
Stars: ✭ 78 (+387.5%)
Mutual labels:  mkdocs, mkdocs-material, mkdocs-plugin
mkdocs-git-revision-date-localized-plugin
MkDocs plugin to add a last updated date to your site pages
Stars: ✭ 73 (+356.25%)
Mutual labels:  mkdocs, mkdocs-material, mkdocs-plugin
mkdocs-git-authors-plugin
MkDocs plugin to display git authors of a page.
Stars: ✭ 27 (+68.75%)
Mutual labels:  mkdocs, mkdocs-plugin
tutorials
Collection of tutorials for various libraries and technologies
Stars: ✭ 98 (+512.5%)
Mutual labels:  mkdocs, mkdocs-material
fosscord-docs
Docs for Fosscord
Stars: ✭ 23 (+43.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-htmlproofer-plugin
A MkDocs plugin that validates URL in rendered html files
Stars: ✭ 17 (+6.25%)
Mutual labels:  mkdocs, mkdocs-plugin
taller-de-git
DocumentaciΓ³n del taller de git
Stars: ✭ 18 (+12.5%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-literate-nav
MkDocs plugin to specify the navigation in Markdown instead of YAML
Stars: ✭ 19 (+18.75%)
Mutual labels:  mkdocs, mkdocs-plugin
lavalink-list
A list of free and available public lavalink. Feel free to make a pull request!
Stars: ✭ 43 (+168.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-jekyll
The Material theme from MkDocs provided as a Jekyll template, optimized for GitHub Pages
Stars: ✭ 55 (+243.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-table-reader-plugin
MkDocs plugin that adds a {{ read_csv('table.csv') }} markdown tag to directly insert CSV files as a table into a page.
Stars: ✭ 60 (+275%)
Mutual labels:  mkdocs, mkdocs-plugin
obsidian-publish-mkdocs
A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Stars: ✭ 219 (+1268.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-print-site-plugin
MkDocs Plugin that adds an additional page that combines all pages, allowing easy exports to PDF and standalone HTML.
Stars: ✭ 38 (+137.5%)
Mutual labels:  mkdocs, mkdocs-plugin
privacyguides.org
Protect your data against global mass surveillance programs.
Stars: ✭ 1,316 (+8125%)
Mutual labels:  mkdocs, mkdocs-material
docs
πŸ“– TomoChain documentation
Stars: ✭ 19 (+18.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-markdownextradata-plugin
A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template
Stars: ✭ 48 (+200%)
Mutual labels:  mkdocs, mkdocs-plugin
docutools
Dev Centric Tools for Mkdocs Based Documentation
Stars: ✭ 13 (-18.75%)
Mutual labels:  mkdocs, mkdocs-material
mkdocs-rss-plugin
MkDocs plugin to generate a RSS feeds for created and updated pages, using git log and YAML frontmatter (page.meta).
Stars: ✭ 43 (+168.75%)
Mutual labels:  mkdocs, mkdocs-plugin
ImageModels
ImageNet model implemented using the Keras Functional API
Stars: ✭ 63 (+293.75%)
Mutual labels:  mkdocs, mkdocs-material

mkdocs-exclude-search

A mkdocs plugin that lets you exclude selected files or sections from the search index.

PyPI - Downloads

Setup

Install the plugin using pip:

pip install mkdocs-exclude-search

Activate the search and exclude-search plugins in mkdocs.yml. search is required, otherwise exclude-search has no effect!

plugins:
  - search
  - exclude-search

More information about plugins in the MkDocs documentation.

Configuration

  • List the markdown files to be excluded under exclude using the format <path>/<to>/filename.md in the docs folder.
  • Exclude specific heading subsections using the format <path>/<to>/filename.md#some-heading. Chapter names are all lowercase, - as separator, no spaces.
  • Exclude all markdown files within a directory (and its children) with dirname/*.
  • Exclude all markdown files with a specific name within all subdirectories with dirname/*/filename.md or /*/filename.md.
  • To still include a subsection of an excluded file, list the subsection heading under ignore using the format <path>/<to>/filename.md#some-heading.
  • To exclude all unreferenced files (markdown files not listed in mkdocs.yml nav section), use exclude_unreferenced: true. Default false.
plugins:
  - search
  - exclude-search:
      exclude:
        - first.md
        - dir/second.md
        - third.md#some-heading
        - dir2/*
        - /*/fifth.md
      ignore:
        - dir/second.md#some-heading
      exclude_unreferenced: true
nav:
    - Home: index.md
    - First chapter: first.md
    - Second chapter: dir/second.md
    - Third chapter: third.md
    - Fourth chapter: dir2/fourth.md
    - Fifth chapter: subdir/fifth.md

This example would exclude:

  • the first chapter.
  • the second chapter (but still include its some-heading section).
  • the some-heading section of the third chapter.
  • all markdown files within dir2 (and its children directories).
  • all markdown files named fifth.md within all subdirectories.
  • all unreferenced files

See Also

More information about templates here.

More information about blocks here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].