File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -341,6 +341,13 @@ Unsupported Notion Block Types
341341Uploading Documentation to Notion
342342----------------------------------
343343
344+ Build documentation with the ``notion `` builder.
345+ For eaxmple:
346+
347+ .. code-block :: console
348+
349+ $ sphinx-build -W -b notion source build/notion
350+
344351 After building your documentation with the Notion builder, you can upload it to Notion using the included command-line tool.
345352
346353Prerequisites
@@ -358,6 +365,7 @@ Usage
358365
359366.. code-block :: console
360367
368+ # The JSON file will be in the build directory, e.g. ./build/notion/index.json
361369 $ notion-upload --file path/to/output.json --parent-id parent_page_id --parent-type page --title "Page Title" --sha-mapping notion-sha-mapping.json
362370
363371 Arguments:
You can’t perform that action at this time.
0 commit comments