Sphinx extension for building opcode documentation.
|
_GetCommonParamNames()
Builds a list of parameters common to all opcodes. |
source code
|
|
|
|
dict
|
|
|
|
|
|
|
PythonEvalRole(role,
rawtext,
text,
lineno,
inliner,
options={},
content=[])
Custom role to evaluate Python expressions. |
source code
|
|
|
|
|
|
|
_ManPageNodeClass(*args,
**kwargs)
Generates a pending XRef like a ":doc:`...`" reference. |
source code
|
|
|
_ManPageRole(typ,
rawtext,
text,
lineno,
inliner,
options={},
content=[])
Custom role for man page references. |
source code
|
|
|
_EncodeRapiResourceLink(method,
uri)
Encodes a RAPI resource URI for use as a link target. |
source code
|
|
|
_MakeRapiResourceLink(method,
uri)
Generates link target name for RAPI resource. |
source code
|
|
list of strings
|
|
string
|
|
|
_BuildRapiAccessTable(res)
Build a table with access permissions needed for all RAPI resources. |
source code
|
|
|
|
|
s_compat = sphinx.util.compat
|
|
orig_manpage_role = docutils.parsers.rst.roles._roles ["manpage"]
|
|
_MAN_RE = re.compile(r"^(?P<name>[-\w_]+)\((?P<section>\d+)\)$")
Regular expression for man page names
|
|
_TAB_WIDTH = 2
|
|
RAPI_URI_ENCODE_RE = re.compile("[^_a-z0-9]+", re.I)
|
|
COMMON_PARAM_NAMES = _GetCommonParamNames()
|
|
EVAL_NS = dict(compat= compat, constants= constants, utils= ut...
Namespace for evaluating expressions
|
|
CV_ECODES_DOC = "ecodes"
|
|
CV_ECODES_DOC_LIST = [(name, doc) for(_, name, doc) in constan...
|
|
DOCUMENTED_CONSTANTS = {CV_ECODES_DOC: CV_ECODES_DOC_LIST,}
|
|
_RAPI_RESOURCES_FOR_DOCS = _RapiHandlersForDocsHelper.Build()
|