X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;fp=docs%2Fconf.py;h=47e5eb719340b4207c8d04d52758b87436e571ad;hb=db26ba217530985dbdcf739640c16c6cecd54a1d;hp=b92d4d947d07691c33a05a8aed97e6937c4b8492;hpb=4b9552c36d910264474a25cd7c1520a2a816f4d4;p=ric-plt%2Fxapp-frame-py.git diff --git a/docs/conf.py b/docs/conf.py old mode 100644 new mode 100755 index b92d4d9..47e5eb7 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,16 +2,22 @@ import os import sys from docs_conf.conf import * +# autodoc needs this to find the code sys.path.insert(0, os.path.abspath("../")) extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "numpydoc"] -# dont alphabetically order +# don't alphabetically order autodoc_member_order = "bysource" linkcheck_ignore = ["http://localhost.*", "http://127.0.0.1.*", "https://gerrit.o-ran-sc.org.*"] + +# silence complaints from autodoc gen nitpick_ignore = [ ('py:class', 'ctypes.c_char_p'), ('py:class', 'ctypes.c_void_p'), ('py:class', 'ricxappframe.rmr.rmr.LP_rmr_mbuf_t'), ] + +# RMR c library is not available in ReadTheDocs +autodoc_mock_imports = ['ricxappframe.rmr.rmrclib']