diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2017-01-17 15:37:06 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2017-01-17 15:37:06 -0500 |
| commit | 4cbb658c6065d56dcc08a38d7f69f28c420c5e80 (patch) | |
| tree | 821befcbb59ac4cc12797957c8cde71d4cb278e6 /api-docs/source | |
| parent | 6ac4f1abbc36daf8be05b1af3509db219eb9b36e (diff) | |
fix missing documentation
Diffstat (limited to 'api-docs/source')
| -rw-r--r-- | api-docs/source/conf.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/api-docs/source/conf.py b/api-docs/source/conf.py index 379d6d7e..c7fa4a89 100644 --- a/api-docs/source/conf.py +++ b/api-docs/source/conf.py @@ -31,7 +31,7 @@ import binaryninja def modulelist(modulename): modules = inspect.getmembers(modulename, inspect.ismodule) - return filter(lambda x: x[0] not in ("abc", "ctypes", "core", "struct", "sys", "_binaryninjacore", "traceback", "code", "enum", "json", "threading"), modules) + return filter(lambda x: x[0] not in ("abc", "ctypes", "core", "struct", "sys", "_binaryninjacore", "traceback", "code", "enum", "json", "threading", "startup", "associateddatastore"), modules) def classlist(module): @@ -53,7 +53,7 @@ def generaterst(): ''') for modulename, module in modulelist(binaryninja): - filename = 'binaryninja.{module}.rst'.format(module=modulename) + filename = 'binaryninja.{module}-module.rst'.format(module=modulename) pythonrst.write(' {module} <{filename}>\n'.format(module=modulename, filename=filename)) modulefile = open(filename, "w") modulefile.write('''{module} module @@ -69,6 +69,11 @@ def generaterst(): modulefile.write('''\n.. toctree:: :maxdepth: 2\n''') + + modulefile.write('''\n\n.. automodule:: binaryninja.{module} + :members: + :undoc-members: + :show-inheritance:'''.format(module=modulename)) modulefile.close() pythonrst.write('''.. automodule:: binaryninja |
