From 3813004537f05133fc4bff09eefdf11723848ddf Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Sun, 26 Mar 2023 18:46:35 -0700 Subject: offline search in user guide and optional stats tracking for online docs --- api-docs/source/conf.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'api-docs') diff --git a/api-docs/source/conf.py b/api-docs/source/conf.py index 642cfce4..d511b85e 100644 --- a/api-docs/source/conf.py +++ b/api-docs/source/conf.py @@ -23,6 +23,16 @@ import platform import inspect import glob +stats = ''' + +.. raw:: html + + + +''' + if (platform.system() == "Darwin"): bnpath=os.path.join(os.path.abspath('.'), "..", "..", "..", "build", "out", "binaryninja.app", "Contents", "Resources", "python") else: @@ -132,8 +142,10 @@ Full Class List :members: :undoc-members: :show-inheritance:''') + modulefile.write(stats) modulefile.close() + pythonrst.write(stats) pythonrst.close() -- cgit v1.3.1