29
29
sys .path .insert (0 , bnpath )
30
30
import binaryninja
31
31
binaryninja ._init_plugins () #force license check
32
- binaryninja .core_serial = "REDACTED"
33
32
34
33
def modulelist (modulename ):
35
34
modules = inspect .getmembers (modulename , inspect .ismodule )
@@ -144,8 +143,8 @@ def generaterst():
144
143
# built documents.
145
144
#
146
145
# The short X.Y version.
147
- version = u'.' .join (unicode (binaryninja .core_version ).split ('.' )[0 :2 ])
148
- release = unicode (binaryninja .core_version )
146
+ version = u'.' .join (unicode (binaryninja .core_version () ).split ('.' )[0 :2 ])
147
+ release = unicode (binaryninja .core_version () )
149
148
150
149
language = 'en'
151
150
@@ -192,11 +191,11 @@ def generaterst():
192
191
# The name for this set of Sphinx documents.
193
192
# "<project> v<release> documentation" by default.
194
193
#
195
- # html_title = u'Binary Ninja Documentation v1.0.1'
194
+ html_title = u'Binary Ninja API Documentation v' + version
196
195
197
196
# A shorter title for the navigation bar. Default is the same as html_title.
198
197
#
199
- # html_short_title = None
198
+ html_short_title = u'BN API'
200
199
201
200
# The name of an image file (relative to this directory) to place at the top
202
201
# of the sidebar.
@@ -207,7 +206,7 @@ def generaterst():
207
206
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
208
207
# pixels large.
209
208
#
210
- # html_favicon = None
209
+ html_favicon = u'../../docs/img/favicon.ico'
211
210
212
211
# Add any paths that contain custom static files (such as style sheets) here,
213
212
# relative to this directory. They are copied after the builtin static files,
@@ -258,7 +257,7 @@ def generaterst():
258
257
259
258
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
260
259
#
261
- # html_show_sphinx = True
260
+ html_show_sphinx = False
262
261
263
262
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
264
263
#
0 commit comments