Move wrapped C library to subpackage
[ric-plt/xapp-frame-py.git] / docs / conf.py
1 import os
2 import sys
3 from docs_conf.conf import *
4
5 # autodoc needs this to find the code
6 sys.path.insert(0, os.path.abspath("../"))
7
8 extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "numpydoc"]
9
10 # don't alphabetically order
11 autodoc_member_order = "bysource"
12
13 linkcheck_ignore = ["http://localhost.*", "http://127.0.0.1.*", "https://gerrit.o-ran-sc.org.*"]
14
15 # silence complaints from autodoc gen
16 nitpick_ignore = [
17             ('py:class', 'ctypes.c_char_p'),
18             ('py:class', 'ctypes.c_void_p'),
19             ('py:class', 'ricxappframe.rmr.rmr.LP_rmr_mbuf_t'),
20             ]
21
22 # RMR c library is not available in ReadTheDocs
23 autodoc_mock_imports = ['ricxappframe.rmr.rmrclib']