4935: update API documentation

svn: r17646
This commit is contained in:
Jérôme Rapinat 2011-06-01 20:03:27 +00:00
parent 85b57d44bb
commit c1a29b21d4
7 changed files with 213 additions and 131 deletions

View File

@ -16,6 +16,7 @@ Contents:
gen/gen_lib gen/gen_lib
gen/gen_db gen/gen_db
gen/gen_display
gen/gen_plug gen/gen_plug
gen/gen_proxy gen/gen_proxy
gen/gen_utils gen/gen_utils

View File

@ -2,158 +2,71 @@
The :mod:`gen.db` Module The :mod:`gen.db` Module
########################## ##########################
Contents:
.. automodule:: gen.db .. automodule:: gen.db
*****************************
Base object
*****************************
GrampsDbBase GrampsDbBase
==================================== ====================================
.. automodule:: gen.db.base .. automodule:: gen.db.base
.. autoclass:: GrampsDbBase
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
Read object
*****************************
GrampsDbRead GrampsDbRead
==================================== ====================================
.. automodule:: gen.db.read .. automodule:: gen.db.read
.. autoclass:: GrampsDbRead
:members: :members:
:show-inheritance: :show-inheritance:
*****************************
Write object
*****************************
GrampsDbWrite GrampsDbWrite
==================================== ====================================
.. automodule:: gen.db.write .. automodule:: gen.db.write
.. autoclass:: GrampsDBDir
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
Cursor
*****************************
GrampsCursor GrampsCursor
==================================== ====================================
.. automodule:: gen.db.cursor .. automodule:: gen.db.cursor
.. autoclass:: GrampsCursor
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
BSDDB txn
*****************************
BSDDBtxn BSDDBtxn
==================================== ====================================
.. automodule:: gen.db.bsddbtxn .. automodule:: gen.db.bsddbtxn
.. autoclass:: BSDDBTxn
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
Txn object
*****************************
GrampsDbTxn GrampsDbTxn
==================================== ====================================
.. automodule:: gen.db.txn .. automodule:: gen.db.txn
.. autoclass:: GrampsDbTxn
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
Undoredo object
*****************************
GrampsDbUndo GrampsDbUndo
==================================== ====================================
.. automodule:: gen.db.undoredo .. automodule:: gen.db.undoredo
.. autoclass:: GrampsDbUndo
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
GrampsDbUndoList
====================================
.. autoclass:: GrampsDbUndoList
:members:
:undoc-members:
:show-inheritance:
GrampsDbUndoBSDDB
====================================
.. autoclass:: GrampsDbUndoBSDDB
:members:
:undoc-members:
:show-inheritance:
*****************************
Dbconst object
*****************************
DbConst DbConst
==================================== ====================================
.. automodule:: gen.db.dbconst .. automodule:: gen.db.dbconst
:members: :members:
*****************************
Exceptions object
*****************************
GrampsDbException GrampsDbException
==================================== ====================================
.. automodule:: gen.db.exceptions .. automodule:: gen.db.exceptions
.. autoclass:: GrampsDbException
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
GrampsDbWriteFailure
====================================
.. autoclass:: GrampsDbWriteFailure
:members:
:undoc-members:
:show-inheritance:
FileVersionError
====================================
.. autoclass:: FileVersionError
:members:
:undoc-members:
:show-inheritance:
FileVersionDeclineToUpgrade
====================================
.. autoclass:: FileVersionDeclineToUpgrade
:members:
:undoc-members:
:show-inheritance:
*****************************
Upgrade utilities Upgrade utilities
***************************** ====================================
.. automodule:: gen.db.upgrade .. automodule:: gen.db.upgrade
:members: :members:
:undoc-members: :undoc-members:

12
docs/gen/gen_display.rst Normal file
View File

@ -0,0 +1,12 @@
#############################
The :mod:`gen.display` Module
#############################
.. automodule:: gen.display
Name
====================================
.. automodule:: gen.display.name
:members:
:undoc-members:
:show-inheritance:

View File

@ -2,8 +2,6 @@
The :mod:`gen.lib` Module The :mod:`gen.lib` Module
########################## ##########################
Contents:
.. automodule:: gen.lib .. automodule:: gen.lib
***************************** *****************************

View File

@ -2,118 +2,228 @@
The :mod:`gen.plug` Module The :mod:`gen.plug` Module
############################ ############################
Contents:
.. automodule:: gen.plug .. automodule:: gen.plug
*****************************
Plugins objects
*****************************
Plugin Plugin
==================================== ====================================
.. automodule:: gen.plug.Plugin .. automodule:: gen.plug._plugin
.. autoclass:: gen.plug.Plugin
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
BaseManager BaseManager
==================================== ====================================
.. automodule:: gen.plug.BaseManager .. automodule:: gen.plug._manager
.. autoclass:: gen.plug.BasePluginManager
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Docgen Docgen
==================================== ====================================
.. automodule:: gen.plug.Docgen .. automodule:: gen.plug._docgenplugin
.. autoclass:: gen.plug.DocGenPlugin
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Export Export
==================================== ====================================
.. automodule:: gen.plug.Export .. automodule:: gen.plug._export
.. autoclass:: gen.plug.ExportPlugin
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Gramplet Gramplet
==================================== ====================================
.. automodule:: gen.plug.Gramplet .. automodule:: gen.plug._gramplet
.. autoclass:: gen.plug.Gramplet
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Import Import
==================================== ====================================
.. automodule:: gen.plug.Import .. automodule:: gen.plug._import
.. autoclass:: gen.plug.ImportPlugin
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Options Options
==================================== ====================================
.. automodule:: gen.plug.Options .. automodule:: gen.plug._options
.. autoclass:: gen.plug.Options
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Register Register
==================================== ====================================
.. automodule:: gen.plug.Register .. automodule:: gen.plug._pluginreg
.. autoclass:: gen.plug.PluginRegister
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Utils Utils
==================================== ====================================
.. automodule:: gen.plug.Utils .. automodule:: gen.plug.utils
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
Docbackend Docbackend
==================================== ====================================
.. automodule:: gen.plug.docbackend .. automodule:: gen.plug.docbackend.cairobackend
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docbackend.docbackend
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
**TODO**
DocGen DocGen
==================================== ====================================
.. automodule:: gen.plug.docgen .. automodule:: gen.plug.docgen.basedoc
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.drawdoc
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.fontscale
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.fontstyle
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.graphdoc
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.graphicstyle
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.paperstyle
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.paragraphstyle
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.stylesheet
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.tablestyle
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.docgen.textdoc
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
**TODO**
Menu Menu
==================================== ====================================
.. automodule:: gen.plug.menu .. automodule:: gen.plug.menu._boolean
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._booleanlist
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._color
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._destination
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._enumeratedlist
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._family
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._filter
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._media
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._note
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._number
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._option
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._person
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._personlist
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._placelist
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._string
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._style
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._surnamecolor
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.menu._text
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
**TODO**
Report Report
==================================== ====================================
.. automodule:: gen.plug.report .. automodule:: gen.plug.report._bibliography
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.report._constants
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.report.endnotes
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.report._paper
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.report._reportbase
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.plug.report.utils
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
**TODO**

View File

@ -2,8 +2,43 @@
The :mod:`gen.proxy` Module The :mod:`gen.proxy` Module
############################ ############################
Contents:
.. automodule:: gen.proxy .. automodule:: gen.proxy
**TODO** Proxy Base
====================================
.. automodule:: gen.proxy.proxybase
:members:
:undoc-members:
:show-inheritance:
Filter
====================================
.. automodule:: gen.proxy.filter
:members:
:undoc-members:
:show-inheritance:
Living
====================================
.. automodule:: gen.proxy.living
:members:
:undoc-members:
:show-inheritance:
Private
====================================
.. automodule:: gen.proxy.private
:members:
:undoc-members:
:show-inheritance:
References
====================================
.. automodule:: gen.proxy.referenced
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.proxy.referencedbyselection
:members:
:undoc-members:
:show-inheritance:

View File

@ -2,8 +2,21 @@
The :mod:`gen.utils` Module The :mod:`gen.utils` Module
############################ ############################
Contents:
.. automodule:: gen.utils .. automodule:: gen.utils
**TODO** Utils
====================================
.. automodule:: gen.utils.callman
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.utils.configmanager
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gen.utils.fallback
:members:
:undoc-members:
:show-inheritance: