Merge pull request #243 from sam-m888/sphinxupdates

Sphinxupdates
This commit is contained in:
Sam Manzi 2016-09-25 10:59:38 +10:00 committed by GitHub
commit e817d41837
5 changed files with 7 additions and 22 deletions

View File

@ -57,7 +57,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = 'Gramps' project = 'Gramps'
copyright = '2015, The Gramps Project' copyright = '2016, The Gramps Project'
author = 'Donald N. Allingham' author = 'Donald N. Allingham'
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
@ -147,7 +147,8 @@ html_theme = 'classic'
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] #html_static_path = ['_static']
html_static_path = []
# Add any extra paths that contain custom files (such as robots.txt or # Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied # .htaccess) here, relative to this directory. These files are copied

View File

@ -401,10 +401,6 @@ Validated Combo Entry
Validated Masked Entry Validated Masked Entry
***************************** *****************************
.. automodule:: gramps.gui.widgets.validatedmaskedentry .. automodule:: gramps.gui.widgets.validatedmaskedentry
.. autoclass:: FadeOut
:members:
:undoc-members:
:show-inheritance:
.. autoclass:: MaskedEntry .. autoclass:: MaskedEntry
:members: :members:
:undoc-members: :undoc-members:

View File

@ -257,7 +257,7 @@ DateHandler (Serbian)
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
.. autoclass:: gramps.gen.datehandler._date_sr.DateDisplaySR_latin .. autoclass:: gramps.gen.datehandler._date_sr.DateDisplaySR_Latin
:members: :members:
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:

View File

@ -218,7 +218,7 @@ Citation
Media Object Media Object
==================================== ====================================
.. automodule:: gramps.gen.lib.mediaobj .. automodule:: gramps.gen.lib.media
.. autoclass:: Media .. autoclass:: Media
:members: :members:
:undoc-members: :undoc-members:
@ -565,15 +565,3 @@ UrlType
:undoc-members: :undoc-members:
:show-inheritance: :show-inheritance:
*****************************
Privacy
*****************************
PrivateSourceNote
=================
.. automodule:: gramps.gen.lib.privsrcnote
.. autoclass:: PrivateSourceNote
:members:
:undoc-members:
:show-inheritance:

View File

@ -42,7 +42,7 @@ SPHINXBUILD = 'sphinx-build'
if sys.platform == 'win32': if sys.platform == 'win32':
pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe') pythonCmd = os.path.join(sys.prefix, 'bin', 'python.exe')
sphinxCmd = os.path.join(sys.prefix, 'bin', 'sphinx-build.exe') sphinxCmd = os.path.join(sys.prefix, 'bin', 'sphinx-build.exe')
elif sys.platform in ['linux2', 'darwin', 'cygwin']: elif sys.platform in ['linux', 'linux2', 'darwin', 'cygwin']:
pythonCmd = os.path.join(sys.prefix, 'bin', 'python') pythonCmd = os.path.join(sys.prefix, 'bin', 'python')
sphinxCmd = SPHINXBUILD sphinxCmd = SPHINXBUILD
else: else:
@ -62,7 +62,7 @@ def tests():
print ('Please, install python') print ('Please, install python')
try: try:
print("\n=================='Shpinx-build'=============================\n") print("\n=================='sphinx-build'=============================\n")
os.system('''%(program)s''' % {'program': sphinxCmd}) os.system('''%(program)s''' % {'program': sphinxCmd})
except: except:
print ('Please, install sphinx') print ('Please, install sphinx')