Skip to main content

Notion Plugin for mkdocs

Project description

mkdocs-notion-plugin

Release Build status codecov Commit activity License

A MkDocs plugin that integrates Notion content into your documentation.

Features

  • Fetch content from Notion databases
  • Cache Notion content locally for faster builds
  • Seamless integration with MkDocs

Installation

pip install mkdocs-notion-plugin

Configuration

Add the plugin to your mkdocs.yml:

plugins:
  - notion:
      notion_token: your-notion-integration-token

      cache_dir: .notion_cache  # optional

Required Configuration

Optional Configuration

  • cache_dir: Directory to store cached Notion content (default: .notion_cache)

Usage

  1. Create a Notion integration and get your token
  2. Share your Notion database with the integration
  3. Configure the plugin in your mkdocs.yml
  4. Build your documentation

Development

# Install dependencies
poetry install

# Run tests
poetry run pytest

# Format code
poetry run black .

Links

License

MIT License


Repository initiated with fpgmaas/cookiecutter-poetry.

Change

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_notion_plugin-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_notion_plugin-0.0.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_notion_plugin-0.0.1.tar.gz.

File metadata

  • Download URL: mkdocs_notion_plugin-0.0.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure

File hashes

Hashes for mkdocs_notion_plugin-0.0.1.tar.gz
Algorithm Hash digest
SHA256 90cc8dbe91befd809df4efce5ed96b75a0367b1950f21d6aa5547b2528ea06ba
MD5 f18031bc11fda7dbe8f84138b5f2ce18
BLAKE2b-256 9fe4f35d3212528d3162876c933684f6623c4137b5678f15e620e19d12beac2a

See more details on using hashes here.

File details

Details for the file mkdocs_notion_plugin-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_notion_plugin-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.11.12 Linux/6.11.0-1014-azure

File hashes

Hashes for mkdocs_notion_plugin-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dab554df6a8e4b8eeac3bc20bee797a7e5b81e5e2cce262682c6fe040bbffd87
MD5 540db030df0e271e1f6f4b8dcb59939b
BLAKE2b-256 cd4a106013353553a0ab591d7a0c53d2d0fd023c7cb0b5d262074a20a040822f

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