8855: start to update API doc for DB stuff
This commit is contained in:
parent
1a1515d6e3
commit
e287101688
@ -11,33 +11,6 @@ GrampsDbBase
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
GrampsDbRead
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.read
|
|
||||||
:members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
GrampsDbWrite
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.write
|
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
GrampsCursor
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.cursor
|
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
BSDDBtxn
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.bsddbtxn
|
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
GrampsDbTxn
|
GrampsDbTxn
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.db.txn
|
.. automodule:: gramps.gen.db.txn
|
||||||
@ -45,13 +18,6 @@ GrampsDbTxn
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
GrampsDbUndo
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.undoredo
|
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
DbConst
|
DbConst
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.db.dbconst
|
.. automodule:: gramps.gen.db.dbconst
|
||||||
@ -64,15 +30,74 @@ GrampsDbException
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
Upgrade utilities
|
GrampsDbUndo
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.db.upgrade
|
.. automodule:: gramps.gen.db.undoredo
|
||||||
:members:
|
|
||||||
:undoc-members:
|
|
||||||
|
|
||||||
Backup
|
|
||||||
====================================
|
|
||||||
.. automodule:: gramps.gen.db.backup
|
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
Generic
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.gen.db.generic
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
DummyDb
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.dummydb
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
The :mod:`gramps.gen.db` bsddb Module
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
.. automodule:: gramps.plugins.db.bsddb
|
||||||
|
|
||||||
|
GrampsDbRead
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.bsddb.read
|
||||||
|
:members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
GrampsDbWrite
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.bsddb.write
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
GrampsCursor
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.bsddb.cursor
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
BSDDBtxn
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.bsddb.bsddbtxn
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
The :mod:`gramps.gen.db` dbapi Module
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
.. automodule:: gramps.plugins.db.dbapi
|
||||||
|
|
||||||
|
DBAPI
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.dbapi.dbapi
|
||||||
|
:members:
|
||||||
|
:show-inheritance:
|
||||||
|
|
||||||
|
Sqlite
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.plugins.db.dbapi.sqlite
|
||||||
|
:members:
|
||||||
|
:show-inheritance:
|
||||||
|
@ -10,3 +10,10 @@ Name
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
|
Place
|
||||||
|
====================================
|
||||||
|
.. automodule:: gramps.gen.display.place
|
||||||
|
:members:
|
||||||
|
:undoc-members:
|
||||||
|
:show-inheritance:
|
||||||
|
@ -53,14 +53,14 @@ CitationBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
IndirectCitationBase
|
IndirectCitationBase
|
||||||
====================================
|
====================================
|
||||||
.. autoclass:: IndirectCitationBase
|
.. autoclass:: IndirectCitationBase
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
DateBase
|
DateBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.datebase
|
.. automodule:: gramps.gen.lib.datebase
|
||||||
@ -68,7 +68,7 @@ DateBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
LdsOrdBase
|
LdsOrdBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.ldsordbase
|
.. automodule:: gramps.gen.lib.ldsordbase
|
||||||
@ -76,7 +76,7 @@ LdsOrdBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
LocationBase
|
LocationBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.locationbase
|
.. automodule:: gramps.gen.lib.locationbase
|
||||||
@ -84,7 +84,7 @@ LocationBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
MediaBase
|
MediaBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.mediabase
|
.. automodule:: gramps.gen.lib.mediabase
|
||||||
@ -116,7 +116,7 @@ PrivacyBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
RefBase
|
RefBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.refbase
|
.. automodule:: gramps.gen.lib.refbase
|
||||||
@ -132,7 +132,7 @@ SurnameBase
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
TagBase
|
TagBase
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.tagbase
|
.. automodule:: gramps.gen.lib.tagbase
|
||||||
@ -216,7 +216,7 @@ Citation
|
|||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
Media Object
|
Media
|
||||||
====================================
|
====================================
|
||||||
.. automodule:: gramps.gen.lib.media
|
.. automodule:: gramps.gen.lib.media
|
||||||
.. autoclass:: Media
|
.. autoclass:: Media
|
||||||
@ -366,7 +366,7 @@ RepoRef
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
*****************************
|
*****************************
|
||||||
Table objects
|
Table objects
|
||||||
*****************************
|
*****************************
|
||||||
@ -487,7 +487,7 @@ EventType
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
EventRoleType
|
EventRoleType
|
||||||
==============
|
==============
|
||||||
.. automodule:: gramps.gen.lib.eventroletype
|
.. automodule:: gramps.gen.lib.eventroletype
|
||||||
@ -543,7 +543,7 @@ RepositoryType
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
SourceMediaType
|
SourceMediaType
|
||||||
================
|
================
|
||||||
.. automodule:: gramps.gen.lib.srcmediatype
|
.. automodule:: gramps.gen.lib.srcmediatype
|
||||||
@ -557,7 +557,7 @@ StyledTextTagType
|
|||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
|
|
||||||
UrlType
|
UrlType
|
||||||
========
|
========
|
||||||
.. automodule:: gramps.gen.lib.urltype
|
.. automodule:: gramps.gen.lib.urltype
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! /usr/bin/env python
|
#! /usr/bin/env python3
|
||||||
#
|
#
|
||||||
# update_po - a gramps tool to update translations
|
# update_po - a gramps tool to update translations
|
||||||
#
|
#
|
||||||
@ -102,8 +102,9 @@ def build():
|
|||||||
# testing stage
|
# testing stage
|
||||||
|
|
||||||
os.system('''%(program)s -b html . _build/html''' % {'program': sphinxCmd})
|
os.system('''%(program)s -b html . _build/html''' % {'program': sphinxCmd})
|
||||||
os.system('''%(program)s -b changes . _build/changes''' % {'program': sphinxCmd})
|
#os.system('''%(program)s -b changes . _build/changes''' % {'program': sphinxCmd})
|
||||||
os.system('''%(program)s -b linkcheck . _build/linkcheck''' % {'program': sphinxCmd})
|
#os.system('''%(program)s -b linkcheck . _build/linkcheck''' % {'program': sphinxCmd})
|
||||||
|
#os.system('''%(program)s -b devhelp . _build/devhelp''' % {'program': sphinxCmd})
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
@ -70,3 +70,4 @@ from .txn import *
|
|||||||
from .exceptions import *
|
from .exceptions import *
|
||||||
from .undoredo import *
|
from .undoredo import *
|
||||||
from .utils import *
|
from .utils import *
|
||||||
|
from .generic import *
|
||||||
|
Loading…
Reference in New Issue
Block a user