Name | sphinx-notion JSON |
Version |
0.0.3
JSON |
| download |
home_page | None |
Summary | Sphinx extension to generate JSON for Notion API from Sphinx documentation |
upload_time | 2025-08-16 16:41:19 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT License |
keywords |
sphinx
notion
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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
1. Create your Sphinx documentation
2. Edit `conf.py` to use this extension
```python
extensions = [
"sphinx_notion",
]
```
3. 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](https://github.com/ftnext/sphinx-notion/blob/main/upload.py).
Raw data
{
"_id": null,
"home_page": null,
"name": "sphinx-notion",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Sphinx, Notion",
"author": null,
"author_email": "nikkie <takuyafjp+develop@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e8/23/e4ce52c93594bd81fe21c64c25cbbf1f438d745b19255bc17e34e5acd117/sphinx_notion-0.0.3.tar.gz",
"platform": null,
"description": "# sphinx-notion\n\n`sphinx-notion` is a Sphinx extension that converts manuscripts (reST, etc.) to a Notion API compatible JSON file.\n\n`sphinx-notion` adds `notion` builder.\n\n## Example\n\n* reST: https://github.com/ftnext/sphinx-notion/tree/main/example\n* Notion page: https://actually-divan-348.notion.site/sphin-notion-example-index-rst-1dce5fe10a37818098a0fd61578b06d3\n\n## Usage\n\n1. Create your Sphinx documentation\n2. Edit `conf.py` to use this extension\n\n```python\nextensions = [\n \"sphinx_notion\",\n]\n```\n\n3. Run `make notion`\n\nOr other command example:\n\n```\nuvx --from Sphinx \\\n --with sphinx-notion \\\n sphinx-build -M notion source build\n```\n\nOptional: Upload a JSON file under `build/notion/` with a [script](https://github.com/ftnext/sphinx-notion/blob/main/upload.py).\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Sphinx extension to generate JSON for Notion API from Sphinx documentation",
"version": "0.0.3",
"project_urls": {
"Repository": "https://github.com/ftnext/sphinx-notion"
},
"split_keywords": [
"sphinx",
" notion"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "2076b85c0a8fbe7fe80b32b8f575d58513882df249df86d844d227f1519a4e05",
"md5": "0285ddc67345b18f4692ce25dc41863c",
"sha256": "180183dd5a366f76f303f9626e1854e9a627ddefd9beeb82daafe685c4d1bb72"
},
"downloads": -1,
"filename": "sphinx_notion-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0285ddc67345b18f4692ce25dc41863c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 4680,
"upload_time": "2025-08-16T16:41:17",
"upload_time_iso_8601": "2025-08-16T16:41:17.111161Z",
"url": "https://files.pythonhosted.org/packages/20/76/b85c0a8fbe7fe80b32b8f575d58513882df249df86d844d227f1519a4e05/sphinx_notion-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "e823e4ce52c93594bd81fe21c64c25cbbf1f438d745b19255bc17e34e5acd117",
"md5": "4f7df7cadc8bb05d5f36d7c1f0a22cfd",
"sha256": "9764413b6d8decd78435e3a9b9669d609d4729076ed8afaf11f61a3b925c9e96"
},
"downloads": -1,
"filename": "sphinx_notion-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "4f7df7cadc8bb05d5f36d7c1f0a22cfd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4764,
"upload_time": "2025-08-16T16:41:19",
"upload_time_iso_8601": "2025-08-16T16:41:19.370870Z",
"url": "https://files.pythonhosted.org/packages/e8/23/e4ce52c93594bd81fe21c64c25cbbf1f438d745b19255bc17e34e5acd117/sphinx_notion-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-16 16:41:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ftnext",
"github_project": "sphinx-notion",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "sphinx-notion"
}