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.2.tar.gz (4.7 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.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sphinx_notion-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dfda4d35559f3e57bf73e01126809e5e70ba01ee819532ff99815c3a4ce3816e
MD5 0ba65d5444bb67e762c3ce791feb1985
BLAKE2b-256 5bb411a3b1ce1caa3c96c8386afaf7056a43f4b34c3c5f06505bfa3e2f194cab

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for sphinx_notion-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a45730f1ecb735373cc773c97ee36ca108bd1796d342e3d9f1ac6ca41a2ff54
MD5 32dfd5e6f59bedf64064d29f816c8cb3
BLAKE2b-256 b8e4dd3f1d4c465f8eb8c59e0b94ed578773824b1dfa641c4c4fae9b860efaec

See more details on using hashes here.

Provenance

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