reStructuredText sample table generator for sphinx.
Project description
# generator_table reStructuredText sample table generator
# Usage >>> from sphinx_table_gen import gen >>> tables = ‘’’ … 名称 类型 描述 … token string 授权访问令牌 … ‘’’ >>> gen(tabels, leftoffset=True)
使用sphinx api生成的文档中需要内嵌表格时,此脚本就是帮助你生成简单样式表格的工具,希望它对你有用!
clone项目,编辑 gen_tool.py文件替换其中的tables换成你的制表字符串并执行脚本。
ps: 每列之间至少需一个制表符或两个空格。
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
sphinx_table_gen-0.0.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for sphinx_table_gen-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2516f91950a9e97fbaafdcf04983361055e70ac07acd1e395a97bc8fb6189ffc |
|
MD5 | e7f7b115700bab65e7e4b82cdc72b2f0 |
|
BLAKE2b-256 | 8ccee036e8c936928db53d2893674aa8bda0078690e3f236641a8e9c0a6f47f7 |