j1m.sphinxautozconfig-0.1.0
توضیحات
Spinx support for ZConfig
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | j1m.sphinxautozconfig-0.1.0 |
| نام | j1m.sphinxautozconfig |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jim Fulton |
| ایمیل نویسنده | jim@jimfulton.info |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/j1m.sphinxautozconfig/ |
| مجوز | MIT |
*************************
Spinx support for ZConfig
*************************
For more information on ZConfig, see: https://pypi.python.org/pypi/ZConfig
Initially (and probably permanently :) ) This consists of a
``zconfigsectionkeys`` directive for rendering documentation for
ZConfig section keys.
Usage
*****
Install the ``j1m.sphinxautozconfig`` package.
Include ``'j1m.sphinxautozconfig'`` in the list of extensions in your
sphinx configuration::
extensions = ['j1m.sphinxautozconfig']
Where you want the documentation for the keys of a ZConfig section,
use the zconfigsectionkeys directive::
.. zconfigsectionkeys:: PACKAGE_NAME XML_FILE_NAME SECTION_NAME
where:
PACKAGE_NAME
The name of the Python package containing the XML file.
XML_FILE_NAME
The name of an XML file containing section definitions. Typically,
this is ``cpmponent.xml``.
SECTION_NAME
The name of the section to render documentation for.
For example, to render key documentation for the ZODB filestorage section::
.. zconfigsectionkeys:: ZODB component.xml filestorage
Changes
*******
0.1.0 (2016-09-07)
==================
Initial release
نحوه نصب
نصب پکیج whl j1m.sphinxautozconfig-0.1.0:
pip install j1m.sphinxautozconfig-0.1.0.whl
نصب پکیج tar.gz j1m.sphinxautozconfig-0.1.0:
pip install j1m.sphinxautozconfig-0.1.0.tar.gz