Skip to content
Snippets Groups Projects
Commit a12f0ef8 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

sphinx_ext: Allow use of “rapi” module in pyeval


This way constants like “rapi.RAPI_ACCESS_WRITE” can be used in
documentation.

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 2a38e913
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ COMMON_PARAM_NAMES = _GetCommonParamNames()
#: Namespace for evaluating expressions
EVAL_NS = dict(compat=compat, constants=constants, utils=utils, errors=errors,
rlib2=rapi.rlib2, luxi=luxi)
rlib2=rapi.rlib2, luxi=luxi, rapi=rapi)
# Constants documentation for man pages
CV_ECODES_DOC = "ecodes"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment