为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
  • 发送拉取请求。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Java例外。Lang.Stringindexoutofboundsexception索引超出范围(0)   java Spring引导Freemarker从2.2.0升级失败   重构Java反模式名称?包含对象的对象包含。。。等   用java处理JDBC可能出现的死锁的最佳方法   java无法访问主线程上的数据库,因为它可能会在很长一段时间内锁定UI   java如何将固定大小的画布包装在边框窗格中的滚动窗格居中?   java解析xsd文件后得到空结果   在html页面中表示XML文件的java   socketjava对象流   sql Java越界异常数据库   JavaJBoss7.1.1不会在Mavericks上启动   Twincat ADS事件驱动读取在一段时间后停止工作(Java)   java MyBatis使用生成的ID插入所有   Mojave上缺少MacOS Java控制面板   JavaGuice:如果多次注入相同的依赖项,是否注入了该依赖项的相同实例?