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.6.tar.gz (6.8 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.6-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_notion-0.0.6.tar.gz
  • Upload date:
  • Size: 6.8 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.6.tar.gz
Algorithm Hash digest
SHA256 1a3c8dc714b19263625314961eb70fa3131995976bdd726dc595accc50fbe289
MD5 b6d8719bf4e40d3fe977211947424c34
BLAKE2b-256 68b7d7e9ed43aba3cb9658b8198830e0538050a27e5e5d5a14cac88c1ddae6da

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_notion-0.0.6.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.6-py3-none-any.whl.

File metadata

  • Download URL: sphinx_notion-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 eb684180f75855b8a87963e03a856640632431797744508ef461fbb96f3e1352
MD5 156de2828d3db2a284fd11c5e4514090
BLAKE2b-256 56343a45734659461555fa23f20c9bd345997f1e98807ce28b967e3bcb637040

See more details on using hashes here.

Provenance

The following attestation bundles were made for sphinx_notion-0.0.6-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