Giter Site home page Giter Site logo

clearquest's Introduction

Sphinx "ClearQuest" extension

Description

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

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.