コード例 #1
0
ファイル: conf.py プロジェクト: zyex1108/fatiando
plot_html_show_formats = False
plot_html_show_source_link = False

# 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'Fatiando a Terra'
copyright = u'2010-{:d}, Leonardo Uieda'.format(year)
if len(__version__.split('-')) > 1 or __version__ == 'unknown':
    version = 'dev'
else:
    version = __version__
# I'll use the release to place the commit hash at the footer of the site
release = __commit__.split('-')[0]  # Get rid of -dirty
doi = '10.6084/m9.figshare.1115194'

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |doi| replace:: {doi}
.. |doilink| replace:: doi:`{doi} <http://dx.doi.org/{doi}>`__
.. |year| replace:: {year}
""".format(doi=doi, year=year)

html_last_updated_fmt = '%b %d, %Y'
コード例 #2
0
    'matplotlib.sphinxext.plot_directive',
]

# 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'Fatiando a Terra'
copyright = u'2010-{:d}, Leonardo Uieda'.format(year)
if len(__version__.split('-')) > 1:
    version = '-'.join([__version__.split('-')[0], 'dev'])
else:
    version = __version__
# I'll use the release to place the commit hash at the footer of the site
release = __commit__.split('-')[0] # Get rid of -dirty
doi = '10.6084/m9.figshare.1115194'

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |doi| replace:: {doi}
.. |doilink| replace:: doi:`{doi} <http://dx.doi.org/{doi}>`__
.. |year| replace:: {year}
""".format(doi=doi, year=year)

html_last_updated_fmt = '%b %d, %Y'
コード例 #3
0
ファイル: conf.py プロジェクト: fatiando/fatiando
plot_html_show_formats = False
plot_html_show_source_link = False

# 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'Fatiando a Terra'
copyright = u'2010-{:d}, Leonardo Uieda'.format(year)
if len(__version__.split('-')) > 1 or __version__ == 'unknown':
    version = 'dev'
else:
    version = __version__
# I'll use the release to place the commit hash at the footer of the site
release = __commit__.split('-')[0] # Get rid of -dirty
doi = '10.6084/m9.figshare.1115194'

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |doi| replace:: {doi}
.. |doilink| replace:: doi:`{doi} <http://dx.doi.org/{doi}>`__
.. |year| replace:: {year}
""".format(doi=doi, year=year)

html_last_updated_fmt = '%b %d, %Y'
コード例 #4
0
ファイル: conf.py プロジェクト: drandykass/fatiando
plot_html_show_formats = False
plot_html_show_source_link = False

# 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"Fatiando a Terra"
copyright = u"2010-{:d}, Leonardo Uieda".format(year)
if len(__version__.split("-")) > 1 or __version__ == "unknown":
    version = "dev"
else:
    version = __version__
# I'll use the release to place the commit hash at the footer of the site
release = __commit__.split("-")[0]  # Get rid of -dirty
doi = "10.6084/m9.figshare.1115194"

# These enable substitutions using |variable| in the rst files
rst_epilog = """
.. |doi| replace:: {doi}
.. |doilink| replace:: doi:`{doi} <http://dx.doi.org/{doi}>`__
.. |year| replace:: {year}
""".format(
    doi=doi, year=year
)