Notion Plugin for mkdocs
Project description
mkdocs-notion-plugin
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
notion_token: Your Notion integration token. Create one at https://www.notion.so/my-integrations
Optional Configuration
cache_dir: Directory to store cached Notion content (default:.notion_cache)
Usage
- Create a Notion integration and get your token
- Share your Notion database with the integration
- Configure the plugin in your
mkdocs.yml - Build your documentation
Development
# Install dependencies
poetry install
# Run tests
poetry run pytest
# Format code
poetry run black .
Links
- Github repository: https://github.com/tomas_correa/mkdocs-notion-plugin/
- Documentation: https://tomas_correa.github.io/mkdocs-notion-plugin/
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90cc8dbe91befd809df4efce5ed96b75a0367b1950f21d6aa5547b2528ea06ba
|
|
| MD5 |
f18031bc11fda7dbe8f84138b5f2ce18
|
|
| BLAKE2b-256 |
9fe4f35d3212528d3162876c933684f6623c4137b5678f15e620e19d12beac2a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab554df6a8e4b8eeac3bc20bee797a7e5b81e5e2cce262682c6fe040bbffd87
|
|
| MD5 |
540db030df0e271e1f6f4b8dcb59939b
|
|
| BLAKE2b-256 |
cd4a106013353553a0ab591d7a0c53d2d0fd023c7cb0b5d262074a20a040822f
|