diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2023-03-26 18:46:35 -0700 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2023-03-26 18:46:35 -0700 |
| commit | 3813004537f05133fc4bff09eefdf11723848ddf (patch) | |
| tree | c4f1da9fc8474f6332be25c500ff4030f92626e8 /api-docs | |
| parent | a8fc598fc81cbdc3392b39285c27c7140b768e33 (diff) | |
offline search in user guide and optional stats tracking for online docs
Diffstat (limited to 'api-docs')
| -rw-r--r-- | api-docs/source/conf.py | 12 |
1 files changed, 12 insertions, 0 deletions
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 + +<!-- Remove for online stats +<script async defer data-website-id="5e56a9cf-8d67-4345-8cf4-408850b1549e" src="https://stats.ext.v35.us/yummi.js"></script> +--> + +''' + 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() |
