Skip to main content

Sphinx extension to generate JSON for Notion API from Sphinx documentation

Project description

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

Usage

  1. Create your Sphinx documentation
  2. Edit conf.py to use this extension
extensions = [
    "sphinx_notion",
]
  1. 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.

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

sphinx_notion-0.0.7.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

sphinx_notion-0.0.7-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_notion-0.0.7.tar.gz.

File metadata

  • Download URL: sphinx_notion-0.0.7.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sphinx_notion-0.0.7.tar.gz
Algorithm Hash digest
SHA256 80060cfd99fad44bbed770e878de3cd12e00c6d31103ff241e50b528bb266080
MD5 f139e917dee36dafa8c998e565906740
BLAKE2b-256 6530475e9fbffafd88328806a2192df9f06965b52884e5f39f3179ab8b154b08

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_notion-0.0.7.tar.gz:

Publisher: publish.yml on ftnext/sphinx-notion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sphinx_notion-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: sphinx_notion-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sphinx_notion-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 13e060644acc49443c792efcbc554824f47ae3e74dbf73e21fe28e7bca5a123a
MD5 3c5681c0b6130fcb4eb8bee19667c3a4
BLAKE2b-256 dd8f791fd7519a5c28aa9b0f54c0975e2469ea4b82b0d7d5e323df084daefc58

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_notion-0.0.7-py3-none-any.whl:

Publisher: publish.yml on ftnext/sphinx-notion

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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