跳转到主要内容

轻松为Dash创建Python文档。

项目描述

Dash.py是一个帮助您轻松将Python文档安装到Dash的工具。

用法

通过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

添加包

在Dash.py中添加新包非常容易

  • Fork项目

  • 在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

  • 发送拉取请求。

项目详情


下载文件

下载适用于您平台文件。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分发

dash.py-0.2.1.zip (11.5 kB 查看哈希值)

上传时间:

dash.py-0.2.1.tar.gz (6.7 kB 查看哈希值)

上传时间 源码

由以下支持