Sphinx "clearquest" extension
Project description
Description
A sphinx extension that adds a clearquest directive for converting ClearQuest requests to reStructuredText tables.
Dependencies
- Sphinx
- PyWin32
http://sourceforge.net/projects/pywin32/ (PyWin32 will not be automatically installed by easy_install or pip install as egg packages are not available on pypi)
Installation & Usage
You can install the sphinxcontrib.clearquest package with easy_install or pip:
$ easy_install sphinxcontrib-clearquest
Or with the windows installer available on this page.
Append 'sphinxcontrib.clearquest' to extensions parameter, and run Sphinx.
Directive Syntax
The syntax of the directive is as follows:
.. clearquest:: <full name/of the clearquest query> (mandatory) :params: <parameters to pass to the query> (optional) :username: <your username> (optional) :password: <your password> (optional) :db_name: <the name of the db> (optional) :db_set: <the name of the db set> (optional)
The parameters to pass to the query must respect the following syntax:
<param1_name>=<param1_value>,<param2_name>=<param2_value>, ...
You can provide them in any order as long as you don’t forget one. The query call will fail if you do.
The connection credentials can either be provided as directive options or in a clearquest section in the ~/.sphinxcontrib file which is a standard .ini configuration file.
Here is an example of ~/.sphinxcontrib file:
[clearquest] username = john password = doe db_name = prod db_set = cqsrv
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
Built Distribution
File details
Details for the file sphinxcontrib-clearquest-0.6.zip
.
File metadata
- Download URL: sphinxcontrib-clearquest-0.6.zip
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 366d7fbb15bdc801da78f1ba829c214b46c9be30a9829ac05913bcef9da1d5e9 |
|
MD5 | d99fc248e55cdab56b9b25da9c7f942d |
|
BLAKE2b-256 | 205c4413ee2cfd0ae33e003a947b850ec0801c6597a729587119d45003fb830b |
File details
Details for the file sphinxcontrib-clearquest-0.6.win32.exe
.
File metadata
- Download URL: sphinxcontrib-clearquest-0.6.win32.exe
- Upload date:
- Size: 207.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287eef3674673982fb75739bb364e258f405b65518d5fafbb820ce43ff6ca21e |
|
MD5 | fbfc0cdc03a6293ca866c343df25fe52 |
|
BLAKE2b-256 | 1f5a06b5cb1bebf466f95c80263ad8fcf73efea418ef214076c9ddcb6adc23ef |