Skip to main content

Sphinx "clearquest" extension

Project description

.. -*- restructuredtext -*-

Sphinx "ClearQuest" extension


A sphinx extension that adds a ``clearquest`` directive for converting
ClearQuest__ requests to reStructuredText tables.



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.

.. important:: You must manually install **PyWin32** for the directive to work.

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: ::

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 (13.9 kB view hashes)

Uploaded source

Built Distributions

sphinxcontrib_clearquest-0.2-py2.7.egg (14.0 kB view hashes)

Uploaded 2 7

sphinxcontrib-clearquest-0.2.win32.exe (207.8 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page