Skip to content

Commit

Permalink
changes: re-arrange sphinx-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tanbro committed Apr 19, 2018
1 parent 88e9819 commit 911613c
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 5 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions docs/exosip2ctypes.rst → docs/apidoc/exosip2ctypes.rst
Expand Up @@ -4,8 +4,7 @@ exosip2ctypes package
Submodules
----------

.. autosummary::
:toctree: modules
.. toctree::

exosip2ctypes.call
exosip2ctypes.context
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion docs/conf.py
Expand Up @@ -32,7 +32,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../src'))


# -- General configuration ------------------------------------------------

Expand All @@ -48,6 +48,7 @@
'sphinx.ext.mathjax',
'sphinx.ext.ifconfig',
'sphinx.ext.autosectionlabel',
'sphinx.ext.autosummary',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
23 changes: 21 additions & 2 deletions docs/index.rst
Expand Up @@ -9,9 +9,28 @@ Welcome to exosip2ctypes's documentation!
:Version: |version|
:Release: |release|

.. toctree::
Summaries
=========

.. autosummary::
:toctree: modules

exosip2ctypes.call
exosip2ctypes.context
exosip2ctypes.error
exosip2ctypes.event
exosip2ctypes.message
exosip2ctypes.register
exosip2ctypes.sdp
exosip2ctypes.utils
exosip2ctypes.version

modules

Contents
========

.. toctree::
apidoc/modules

Indices and tables
==================
Expand Down
5 changes: 5 additions & 0 deletions src/exosip2ctypes/message.py
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-

"""osip and eXosip messages
Message classes of osip and eXosip
"""

from __future__ import absolute_import, unicode_literals

from ctypes import POINTER, byref, string_at, create_string_buffer, c_void_p, c_char_p, c_int, c_size_t
Expand Down

0 comments on commit 911613c

Please sign in to comment.