# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. # html_last_updated_fmt = '' # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". html_title = "{0} v{1}".format(project, release) # Output file base name for HTML help builder. htmlhelp_basename = project + "doc" # Static files to copy after template files html_static_path = ["_static"] gammapy_sphinx_ext_activate() # Integration of notebooks from gamapy-extra repo gammapy_sphinx_notebooks(setup_cfg) # Theme style # html_style = '' def setup(app): app.add_stylesheet("gammapy.css") app.add_javascript("copybutton.js") app.add_javascript("gammapy.js") # copybutton.js provides hide/show button for python prompts >>> # slightly modified to work on RTD theme from javascript file in easydev package
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. # html_last_updated_fmt = '' # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". html_title = '{0} v{1}'.format(project, release) # Output file base name for HTML help builder. htmlhelp_basename = project + 'doc' # Static files to copy after template files html_static_path = ['_static'] gammapy_sphinx_ext_activate() # integration of notebooks from gamapy-extra repo gammapy_sphinx_notebooks(setup_cfg) html_style = 'gammapy.css' # -- Options for LaTeX output -------------------------------------------------- # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [('index', project + '.tex', project + u' Documentation', author, 'manual')] # -- Options for manual page output --------------------------------------------