Skip to content

Small extension to Sphinx (doc. generator) to explicitely list security alerts as is -- modeled from 'sphinx.ext.todo'

License

Notifications You must be signed in to change notification settings

vincent-ferotin/sphinxcontrib-secualert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secualert Sphinx Extension

This package contains the secualert Sphinx extension.

project:sphinxcontrib-secualert
version:0.1
authors:Vincent Férotin, Sphinx team
license:BSD 2-Clause License (see LICENSE file)

This extension was created to specifically list as security alerts items previously targeted as todo, and allow listing all alerts in one list, different from todolist. It was developped from a copy of :mod:`sphinx.ext.todo`.

Usage

Extension need to be installed aside Sphinx, from sources:

# in extension sources root directory
# with Sphinx virtualenv activated if any
$ pip install .

and then activated in project's documentation configuration;

# ...
extensions = [
    # ...
    'sphinxcontrib.secualert',
]
# ...

This extension introduces two new directives:

  • .. secualert:: for creating a new security-related alert item;
  • .. secualertlist:: for re-listing in one place all security-related alerts items.

Intended usage is same as :mod:`sphinx.ext.todo` extension:

.. secualert:: This is a basic security alert item!

.. List all alerts:

.. secualertlist::

About

Small extension to Sphinx (doc. generator) to explicitely list security alerts as is -- modeled from 'sphinx.ext.todo'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published