Revision 3ac3f5e4 lib/build/sphinx_ext.py
b/lib/build/sphinx_ext.py | ||
---|---|---|
51 | 51 |
EVAL_NS = dict(compat=compat, constants=constants, utils=utils, errors=errors, |
52 | 52 |
rlib2=rapi.rlib2) |
53 | 53 |
|
54 |
# Constants documentation for man pages |
|
55 |
CV_ECODES_DOC = "ecodes" |
|
56 |
# We don't care about the leak of variables _, name and doc here. |
|
57 |
# pylint: disable=W0621 |
|
58 |
CV_ECODES_DOC_LIST = [(name, doc) for (_, name, doc) in constants.CV_ALL_ECODES] |
|
59 |
DOCUMENTED_CONSTANTS = { |
|
60 |
CV_ECODES_DOC: CV_ECODES_DOC_LIST, |
|
61 |
} |
|
62 |
|
|
54 | 63 |
|
55 | 64 |
class OpcodeError(sphinx.errors.SphinxError): |
56 | 65 |
category = "Opcode error" |
Also available in: Unified diff