Giter VIP home page Giter VIP logo

requirements's Introduction

sphinxcontrib-requirements

A Sphinx extension allowing declaration if requirement specs wherever in the documentation (for instance, in docstrings of UnitTest.test_* methods) and collating them in a single list.

Installation

Install this package with pip:

pip install sphinxcontrib-requirements

and enable in project configuration (conf.py):

extensions = [
    'sphinxcontrib.requirements',
]

Usage

The requirements extension provides two new directives:

requirement

Defines an individual requirement to be processed.

Options

The status option defines the disposition of the requirement. Values are currently fixed to the following values:

  • undecided (default)
  • todo
  • done
  • tested
  • wontfix

A future version shall have the ability to control the available options through the Sphinx conf.py file.

The reference option allows an external document reference to be specified such as a formal requirements document or specification.

reqlist

The reqlist directive is replaced by a list of all the requirements that have been found across the documentation. Much like the built-in todo extension, this directive can only be processed properly if a complete build of the documentation is run (i.e make clean is run first,) otherwise unchanged files aren't processed.

Configuration

No configuration is necessary at this time.

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.