Documentation toolchain for SecretFlow
Project description
@secretflow/doctools
SecretFlow 文档构建工具。
安装
pip install secretflow-doctools
使用
secretflow_doctools
以 Sphinx 插件的形式提供,在你的 conf.py
中添加插件:
extensions = [
# ...
"secretflow_doctools",
]
Sphinx 命令:
python -m sphinx -b mdx source build/mdx
其中:
-b mdx
—— 生成 MDX (Markdown + JSX) 文件,即本插件的主要功能source
—— 文档源文件根目录(包含conf.py
文件的目录)build/mdx
—— 输出目录,可以是任意目录
其余 CLI 选项和 sphinx-build
一致
或者使用 Makefile:
make mdx
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secretflow_doctools-0.1.0.tar.gz
(50.4 MB
view hashes)
Built Distributions
Close
Hashes for secretflow_doctools-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f2159604b82d520c586b32aa213e1ed0422fa6250ff0420306b2b5f03a65ec7 |
|
MD5 | aebb22e8f586ec2c63eb204597263de1 |
|
BLAKE2b-256 | cadcde8fa3627fc9ca6f99e66e437be23bec59295550be6bcfe830f63a58067e |
Close
Hashes for secretflow_doctools-0.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4d410f29be5ce95b89bf471c80503115f23eaa0d71f2d647d2602d14833a48f |
|
MD5 | 864e58c6106064b4a47e74e6e0cd6d66 |
|
BLAKE2b-256 | c82f3dec5bbea1f101c234b5b2db19e484882930331be5d46d3e9a3d5c3e0f29 |
Close
Hashes for secretflow_doctools-0.1.0-py3-none-manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfde1963c406c64d9566ce94ae444f8a5b935a2f46061278b3aecc3d9bdd88ec |
|
MD5 | e3454192099b6183d61cb05c5957c078 |
|
BLAKE2b-256 | 0cdbe5e14fa6907f4fa13d34b30a3186972d9c33b8cc413bfe03101e762bd57e |
Close
Hashes for secretflow_doctools-0.1.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4bca9afe5641accc12a8cf3923f53d9eb0be48e71648e925cce382fb5781c2d |
|
MD5 | 310c199fe1ea70845689583c219d7777 |
|
BLAKE2b-256 | 86f5e065704c9434c96a429f0ec3c71b82713f1342db30726894bac14ab6a2ba |
Close
Hashes for secretflow_doctools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1e76a46ff4addeab6d30134e66b12e74f7614b9dae425ee6e1164816077cfe5 |
|
MD5 | c8f4a025a4dfbc76e073794fed39dfad |
|
BLAKE2b-256 | a33da774b596d5b4a3bc76ef8b3b43495d5a41b8b88907736b8f386a795f3d89 |