Skip to main content

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


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)

Uploaded Source

Built Distribution

sphinx_table_gen-0.0.2-py2.py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page