update documentation

This commit is contained in:
Fanani M. Ihsan
2018-12-29 08:48:32 +07:00
parent b9d4eb4f6a
commit ac5e543ee6
12 changed files with 251 additions and 153 deletions

View File

@@ -18,7 +18,9 @@ import os
# If extensions (or modules to document with autodoc) are in another directory,
# 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('.'))
DOC_DIR = os.path.dirname(__file__)
ROOT_DIR = os.path.dirname(DOC_DIR)
sys.path.insert(0, ROOT_DIR)
# -- General configuration ------------------------------------------------

View File

@@ -139,9 +139,6 @@ Technical Documentation
We open to everyone for contribute in this project. Please refer `Communication_protocol_manual_CMD.pdf <https://github.com/fananimi/pyzk/blob/master/docs/_static/Communication_protocol_manual_CMD.pdf>`_ before you starting write your code.
.. toctree::
:maxdepth: 2
Indices and tables
##################
@@ -149,3 +146,4 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

View File

@@ -1,7 +0,0 @@
zk
==
.. toctree::
:maxdepth: 4
zk

View File

@@ -1,38 +0,0 @@
zk package
==========
Submodules
----------
zk.base module
--------------
.. automodule:: zk.base
:members:
:undoc-members:
:show-inheritance:
zk.const module
---------------
.. automodule:: zk.const
:members:
:undoc-members:
:show-inheritance:
zk.user module
--------------
.. automodule:: zk.user
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
.. automodule:: zk
:members:
:undoc-members:
:show-inheritance:

12
docs/zk_attendance.rst Normal file
View File

@@ -0,0 +1,12 @@
zk attendance
=============
zk.attendance
-------------
.. automodule:: zk.attendance
:members:
:undoc-members:
:show-inheritance:

11
docs/zk_base.rst Normal file
View File

@@ -0,0 +1,11 @@
zk base
=======
zk.base module
--------------
.. automodule:: zk.base
:members:
:undoc-members:
:show-inheritance:

12
docs/zk_const.rst Normal file
View File

@@ -0,0 +1,12 @@
zk const
========
zk.const module
---------------
.. automodule:: zk.const
:members:
:undoc-members:
:show-inheritance:

11
docs/zk_exception.rst Normal file
View File

@@ -0,0 +1,11 @@
zk exception
============
zk.exception
------------
.. automodule:: zk.exception
:members:
:undoc-members:
:show-inheritance:

12
docs/zk_finger.rst Normal file
View File

@@ -0,0 +1,12 @@
zk finger
=========
zk.finger
---------
.. automodule:: zk.finger
:members:
:undoc-members:
:show-inheritance:

12
docs/zk_user.rst Normal file
View File

@@ -0,0 +1,12 @@
zk user
=======
zk.user module
---------------
.. automodule:: zk.user
:members:
:undoc-members:
:show-inheritance: