Skip to content
Snippets Groups Projects

WIP: Resolve "uproot4 integration"

Open Tamas Gal requested to merge 58-uproot4-integration into master
37 files
+ 2599
874
Compare changes
  • Side-by-side
  • Inline
Files
37
+ 23
21
@@ -21,11 +21,11 @@ from pkg_resources import get_distribution
# -- Project information -----------------------------------------------------
version = get_distribution('km3io').version
short_version = '.'.join(version.split('.')[:2])
project = 'km3io {}'.format(short_version)
copyright = '{0}, Zineb Aly and Tamas Gal'.format(date.today().year)
author = 'Zineb Aly, Tamas Gal, Johannes Schumann'
version = get_distribution("km3io").version
short_version = ".".join(version.split(".")[:2])
project = "km3io {}".format(short_version)
copyright = "{0}, Zineb Aly and Tamas Gal".format(date.today().year)
author = "Zineb Aly, Tamas Gal, Johannes Schumann"
# -- General configuration ---------------------------------------------------
@@ -33,33 +33,35 @@ author = 'Zineb Aly, Tamas Gal, Johannes Schumann'
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autosummary', 'sphinx.ext.viewcode',
'autoapi.extension', 'numpydoc',
'sphinx_gallery.gen_gallery'
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.viewcode",
"autoapi.extension",
"numpydoc",
"sphinx_gallery.gen_gallery",
]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
# AutoAPI
autoapi_type = 'python'
autoapi_dirs = ['../km3io']
autoapi_options = ['members', 'undoc-members', 'show-module-summary']
autoapi_type = "python"
autoapi_dirs = ["../km3io"]
autoapi_options = ["members", "undoc-members", "show-module-summary"]
autoapi_include_summaries = True
# Gallery
sphinx_gallery_conf = {
'backreferences_dir': 'modules/generated',
'default_thumb_file': '_static/default_gallery_thumbnail.png',
'examples_dirs': '../examples', # path to your example scripts
'gallery_dirs':
'auto_examples', # path to where to save gallery generated output
'show_memory': True,
"backreferences_dir": "modules/generated",
"default_thumb_file": "_static/default_gallery_thumbnail.png",
"examples_dirs": "../examples", # path to your example scripts
"gallery_dirs": "auto_examples", # path to where to save gallery generated output
"show_memory": True,
}
# -- Options for HTML output -------------------------------------------------
@@ -67,11 +69,11 @@ sphinx_gallery_conf = {
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# 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,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]
html_title = "km3io {}".format(version)
Loading