Пример #1
0
    "xarray": ("http://xarray.pydata.org/en/stable/", None),
}

# Sphinx project configuration
templates_path = ["_templates"]
exclude_patterns = ["_build", "**.ipynb_checkpoints"]
source_suffix = ".rst"
# The encoding of source files.
source_encoding = "utf-8-sig"
master_doc = "index"

# General information about the project
year = datetime.date.today().year
project = u"GMT/Python"
copyright = u"2017-2018, Leonardo Uieda and Paul Wessel"
if len(__version__.split("+")) > 1 or __version__ == "unknown":
    version = "dev"
else:
    version = __version__

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |year| replace:: {year}
""".format(year=year)

html_last_updated_fmt = "%b %d, %Y"
html_title = "GMT/Python"
html_short_title = "GMT/Python"
html_logo = "_static/gmt-python-logo.png"
html_favicon = "_static/favicon.png"
html_static_path = ["_static"]
Пример #2
0
numpydoc_class_members_toctree = False

# Sphinx project configuration
templates_path = ['_templates']
exclude_patterns = ['_build', '**.ipynb_checkpoints']
source_suffix = '.rst'
# The encoding of source files.
source_encoding = 'utf-8-sig'
master_doc = 'index'

# General information about the project
year = datetime.date.today().year
project = u'GMT/Python'
copyright = u'2017-2018, Leonardo Uieda and Paul Wessel'
if len(__version__.split('+')) > 1 or __version__ == 'unknown':
    version = 'dev'
else:
    version = __version__

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |year| replace:: {year}
""".format(year=year)

html_last_updated_fmt = '%b %d, %Y'
html_title = 'GMT/Python'
html_short_title = 'GMT/Python'
html_logo = '_static/gmt-python-logo.png'
html_favicon = '_static/favicon.png'
html_static_path = ['_static']
Пример #3
0
autosummary_generate = True
autodoc_default_flags = ['members', 'inherited-members']

# Sphinx project configuration
templates_path = ['_templates']
exclude_patterns = ['_build']
source_suffix = '.rst'
# The encoding of source files.
source_encoding = 'utf-8-sig'
master_doc = 'index'

# General information about the project
year = datetime.date.today().year
project = u'GMT Python'
copyright = u'2017, Leonardo Uieda'
if len(__version__.split('-')) > 1 or __version__ == 'unknown':
    version = 'dev'
else:
    version = __version__

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |year| replace:: {year}
""".format(year=year)

html_last_updated_fmt = '%b %d, %Y'
html_title = 'GMT Python'
html_short_title = 'GMT Python'
# html_logo = '_static/logo.png'
# html_favicon = u'favicon.ico'
html_static_path = ['_static']