https://github.com/sphinx-contrib/clearquest
https://github.com/sphinx-contrib/clearquest
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sphinx-contrib/clearquest
- Owner: sphinx-contrib
- License: bsd-2-clause
- Created: 2017-09-28T10:31:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-28T10:31:27.000Z (over 7 years ago)
- Last Synced: 2025-01-12T01:25:42.398Z (4 months ago)
- Language: Python
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
.. -*- restructuredtext -*-
=============================
Sphinx "ClearQuest" extension
=============================Description
===========A sphinx extension that adds a ``clearquest`` directive for converting
ClearQuest__ requests to reStructuredText tables.__ http://www-01.ibm.com/software/awdtools/clearquest/
Dependencies
============Sphinx
http://sphinx.pocoo.org/
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.
.. 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:: (mandatory)
:params: (optional)
:username: (optional)
:password: (optional)
:db_name: (optional)
:db_set: (optional)The parameters to pass to the query must respect the following syntax: ::
=,=, ...
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