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