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
- 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.pyto 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.
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfda4d35559f3e57bf73e01126809e5e70ba01ee819532ff99815c3a4ce3816e
|
|
| MD5 |
0ba65d5444bb67e762c3ce791feb1985
|
|
| BLAKE2b-256 |
5bb411a3b1ce1caa3c96c8386afaf7056a43f4b34c3c5f06505bfa3e2f194cab
|
Provenance
The following attestation bundles were made for sphinx_notion-0.0.2.tar.gz:
Publisher:
publish.yml on ftnext/sphinx-notion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_notion-0.0.2.tar.gz -
Subject digest:
dfda4d35559f3e57bf73e01126809e5e70ba01ee819532ff99815c3a4ce3816e - Sigstore transparency entry: 201061007
- Sigstore integration time:
-
Permalink:
ftnext/sphinx-notion@d513615334aff73044b41b71e6a725115e740795 -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d513615334aff73044b41b71e6a725115e740795 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a45730f1ecb735373cc773c97ee36ca108bd1796d342e3d9f1ac6ca41a2ff54
|
|
| MD5 |
32dfd5e6f59bedf64064d29f816c8cb3
|
|
| BLAKE2b-256 |
b8e4dd3f1d4c465f8eb8c59e0b94ed578773824b1dfa641c4c4fae9b860efaec
|
Provenance
The following attestation bundles were made for sphinx_notion-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on ftnext/sphinx-notion
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_notion-0.0.2-py3-none-any.whl -
Subject digest:
5a45730f1ecb735373cc773c97ee36ca108bd1796d342e3d9f1ac6ca41a2ff54 - Sigstore transparency entry: 201061009
- Sigstore integration time:
-
Permalink:
ftnext/sphinx-notion@d513615334aff73044b41b71e6a725115e740795 -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/ftnext
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d513615334aff73044b41b71e6a725115e740795 -
Trigger Event:
release
-
Statement type: