3 from docs_conf.conf import *
5 # autodoc needs this to find the code
6 sys.path.insert(0, os.path.abspath("../"))
8 extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.viewcode", "numpydoc"]
10 # don't alphabetically order
11 autodoc_member_order = "bysource"
13 linkcheck_ignore = ["http://localhost.*", "http://127.0.0.1.*", "https://gerrit.o-ran-sc.org.*"]
15 # silence complaints from autodoc gen
17 ('py:class', 'ctypes.c_char_p'),
18 ('py:class', 'ctypes.c_void_p'),
19 ('py:class', 'ricxappframe.rmr.rmr.LP_rmr_mbuf_t'),
22 # RMR c library is not available in ReadTheDocs
23 autodoc_mock_imports = ['ricxappframe.rmr.rmrclib']
25 # Supports links to RMR man pages
27 intersphinx_mapping['ric-plt-lib-rmr'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-ric-plt-lib-rmr/en/%s' % branch, None)