You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sphinx-notion

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sphinx-notion

Sphinx extension to generate JSON for Notion API from Sphinx documentation

0.0.2
pipPyPI
Maintainers
1

sphinx-notion

sphinx-notion is a Sphinx extension that converts manuscripts (reST, etc.) to a Notion API compatible JSON file.

sphinx-notion adds notion builder.

Example

  • reST: https://github.com/ftnext/sphinx-notion/tree/main/example
  • Notion page: https://actually-divan-348.notion.site/sphin-notion-example-index-rst-1dce5fe10a37818098a0fd61578b06d3

Usage

  • Create your Sphinx documentation
  • Edit conf.py to use this extension
extensions = [
    "sphinx_notion",
]
  • Run make notion

Or other command example:

uvx --from Sphinx \
  --with sphinx-notion \
  sphinx-build -M notion source build

Optional: Upload a JSON file under build/notion/ with a script.

Keywords

Sphinx

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts