Skip to main content

A MkDocs plugin to add note boxes to your documentation.

Project description

MkDocs Note

A MkDocs plugin to add note boxes to your documentation.

PyPI - Version GitHub License GitHub Actions Workflow Status

English | 简体中文

Plugin Usage Demo: Notebook | virtualguard101's Wiki

MkDocs Note is a plugin for MkDocs that automatically manages notes in your documentation site. It's designed to work seamlessly with Material for MkDocs theme to create a unified note-taking and documentation experience.

[!IMPORTANT] Breaking Changes

Since v2.0.0, the plugin uses a co-located asset structure instead of the old unified tree structure, where assets are stored next to their notes. This makes it easier to manage and move notes with their assets together.

However, you need to manually move your existing assets to the new location.

By the way, I think the plugin after v2.0.0 can not only as a "notebook manager", but also an efficient documentations manager because of its powerful and flexible asset management system.

Features

  • Recent Notes Display: Automatically displays a list of recent notes on your notes index page
  • Smart Filtering: Excludes index files and other specified patterns from the recent notes list

  • Flexible Configuration: Highly customizable note directory, file patterns, and display options

  • Automatic Updates: Notes list updates automatically when you build your documentation

  • Command Line Interface: Built-in CLI commands for note management (mkdocs note init, mkdocs note new, etc.)

  • Asset Management: Automatic asset directory creation and management for each note

  • Template System: Configurable note templates with variable substitution

  • Structure Validation: Ensures compliant asset tree structure for consistent organization

  • Network Graph Visualization: Interactive network graph showing relationships between notes with automatic link detection

Installation

Recommended to use uv to manage python virtual environment:

uv init
uv venv
uv add mkdocs-note

Or use The uv tool Interface (uvx) to install and use it much simpler:

uvx mkdocs-note --help

Or using pip:

pip install mkdocs-note

Then, add the plugin to your mkdocs.yml:

plugins:
  - mkdocs-note

The usage and configuration details are available in the Mkdocs-Based Documentation since v2.0.0, refer it to get help or more infomation.

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for guidelines.

References

License

This project is licensed under the GNU General Public License v3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_note-3.0.0.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_note-3.0.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_note-3.0.0.tar.gz.

File metadata

  • Download URL: mkdocs_note-3.0.0.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.7

File hashes

Hashes for mkdocs_note-3.0.0.tar.gz
Algorithm Hash digest
SHA256 39e6d2a4642368d4e6d7ff5d745ca9913a4682badb293ff073d0ecbf43558a12
MD5 7b6b88e67618f6f6a03622932d8782e0
BLAKE2b-256 d27e733a517f78a3f24a6a1c857f2537706cf7d3e0f5cd56a080bfa0d7f24586

See more details on using hashes here.

File details

Details for the file mkdocs_note-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_note-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5e88d9180ce8fae4f0dd71052ed0dbc9f9b3c9aaf1b0880d0637ace58987f47
MD5 6d0ff40af0decdf1659bd048ec7b72a3
BLAKE2b-256 23f85776093a69a7bf0798f34cdab276b341223d9267dfb782d1e61a2dd5ca6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page