summaryrefslogtreecommitdiff
path: root/api-docs/source
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2017-01-20 18:53:32 -0500
committerJordan Wiens <jordan@psifertex.com>2017-01-20 18:53:32 -0500
commit148924f082ba45f041431d004f630de56b59c144 (patch)
treea575e5d5fe6074d8232f90f8bac270a7ea485e62 /api-docs/source
parent4beca85ef057f93b7f07a46580ae1c920fd571a1 (diff)
make python docs default for API help
Diffstat (limited to 'api-docs/source')
-rw-r--r--api-docs/source/conf.py4
-rw-r--r--api-docs/source/old-index.rst25
2 files changed, 27 insertions, 2 deletions
diff --git a/api-docs/source/conf.py b/api-docs/source/conf.py
index c7fa4a89..c87cb114 100644
--- a/api-docs/source/conf.py
+++ b/api-docs/source/conf.py
@@ -43,7 +43,7 @@ def classlist(module):
def generaterst():
- pythonrst = open("python.rst", "w")
+ pythonrst = open("index.rst", "w")
pythonrst.write('''Binary Ninja Python API Documentation
=====================================
@@ -130,7 +130,7 @@ source_suffix = '.rst'
# source_encoding = 'utf-8-sig'
# The master toctree document.
-master_doc = 'python'
+master_doc = 'index'
# General information about the project.
project = u'Binary Ninja API'
diff --git a/api-docs/source/old-index.rst b/api-docs/source/old-index.rst
new file mode 100644
index 00000000..355d6901
--- /dev/null
+++ b/api-docs/source/old-index.rst
@@ -0,0 +1,25 @@
+.. Binary Ninja API documentation master file, created by
+ sphinx-quickstart on Tue Jun 28 23:02:45 2016.
+ You can adapt this file completely to your liking, but it should at least
+ contain the root `toctree` directive.
+
+.. include global.rst
+
+Binary Ninja API Documentation
+==============================
+
+Contents:
+
+.. toctree::
+ :maxdepth: 2
+
+ Python API <python>
+.. C++ API <c++>
+.. C API <c>
+
+Indices and tables
+==================
+
+* :ref:`genindex`
+* :ref:`modindex`
+* :ref:`search`