Skip to content

Commit 7e8d66a

Browse files
committed
Don't include edition when generating API docs.
1 parent fefe588 commit 7e8d66a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api-docs/source/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ def generaterst():
229229
#
230230
# The short X.Y version.
231231
version = u'.'.join(str(binaryninja.core_version()).split('.')[0:2])
232-
release = str(binaryninja.core_version())
232+
# The longer X.Y.Z-channel version. (We intentionally strip the edition.)
233+
release = str(binaryninja.core_version().split(' ')[0])
233234

234235
language = 'en'
235236

0 commit comments

Comments
 (0)