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.4.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.4-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_notion_plugin-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a6221edaf0fbb8369b0ddf1b83acd93d47723e7d9f387af0c9d7655538384599
MD5 2c961f87c538d07c6d36235e4fa03ccf
BLAKE2b-256 edf2bb6730aac778620d69c00692d1f719785055c9ba24b9a19000e2ef634df7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mkdocs_notion_plugin-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b7b61104131b68a100226b53444900222b5cf9bf8225e5ae68d529fdf6f006
MD5 bb9afca8f2ff470f7256d1ee2469d2e5
BLAKE2b-256 cf47e3e775d637f0ecbe59c2066f2d4b3ad5f7189b71c4c61959d175caf9838b

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