为dash轻松创建python文档。
dash.p的Python项目详细描述
py是一个帮助您轻松安装python文档的工具。
用法
通过dash.py将python文档安装到dash很容易
dash.py install flask dash.py install tornado jinja2 sqlalchemy
安装
您可以通过pip安装dash.py
pip install dash.py
如果没有pip,应先安装它
curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python
添加包
注意
不需要添加托管在rtfd.org上的包。dash.py可以从rtfd.org自动下载docset。
很容易在dash.py中添加新包:
- 分叉项目
- 在Dash_py/packages文件夹中添加新文件。
文件名应该是package_name.yaml。现在包名应该是小写的。
它应该是一个可用的yaml文件。
看起来
name: Jinja2 # Package name type: html # Type. Supported types are ``html`` , ``docset`` and ``sphinx`` format: zip # Format. Should be either ``zip``, ``tar`` or ``git``. Note that Gzipped Tar file should be ``tar`` url: http://jinja.pocoo.org/docs/jinja-docs.zip # URL to download the file or to clone the git repo. icon: _static/jinja-small.png # OPTIONAL. path to icon file. sphinx_doc_path: doc # OPTIONAL. If the type is sphinx and sphinx conf file isn't in the root path, you need to provide this.
- git add&;git commit
- 发送拉取请求。