Skip to content
Snippets Groups Projects
Verified Commit 67821212 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Changed configuration (use a cleaner theme).

parent 22430673
No related branches found
No related tags found
No related merge requests found
...@@ -25,9 +25,11 @@ sys.path.insert(0, os.path.abspath('../../py/domain/')) ...@@ -25,9 +25,11 @@ sys.path.insert(0, os.path.abspath('../../py/domain/'))
extensions = ['sphinx.ext.autodoc', extensions = ['sphinx.ext.autodoc',
'sphinx.ext.mathjax'] 'sphinx.ext.mathjax']
source_suffix = '.rst'
templates_path = ['_templates'] templates_path = ['_templates']
source_suffix = '.rst' html_static_path = ['_static']
master_doc = 'index' master_doc = 'index'
...@@ -48,65 +50,44 @@ highlight_language = 'dynare' ...@@ -48,65 +50,44 @@ highlight_language = 'dynare'
todo_include_todos = False todo_include_todos = False
html_theme = 'sphinx_rtd_theme' html_theme = 'alabaster'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
# 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_logo = 'dynarelogo.png' html_sidebars = {
"**": [
"about.html",
"searchbox.html",
"navigation.html",
]
}
# -- Options for HTMLHelp output ------------------------------------------ html_theme_options = {
'logo': 'dlogo.svg',
'logo_name': False,
'fixed_sidebar': True,
'sidebar_collapse': True,
'show_relbar_top': True,
'show_relbar_bottom': True,
}
# Output file base name for HTML help builder.
htmlhelp_basename = 'Dynaremanual' htmlhelp_basename = 'Dynaremanual'
# -- Options for LaTeX output ---------------------------------------------
latex_elements = { latex_elements = {
'sphinxsetup': 'VerbatimBorderColor={rgb}{1,1,1},VerbatimColor={RGB}{240,240,240}, \ 'sphinxsetup': 'VerbatimBorderColor={rgb}{1,1,1},VerbatimColor={RGB}{240,240,240}, \
warningBorderColor={RGB}{255,50,50},OuterLinkColor={RGB}{34,139,34}, \ warningBorderColor={RGB}{255,50,50},OuterLinkColor={RGB}{34,139,34}, \
InnerLinkColor={RGB}{51,51,255},TitleColor={RGB}{51,51,255}', InnerLinkColor={RGB}{51,51,255},TitleColor={RGB}{51,51,255}',
'papersize': 'a4paper', 'papersize': 'a4paper',
} }
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [ latex_documents = [
(master_doc, 'dynare.tex', u'Dynare Reference Manual', (master_doc, 'dynare.tex', u'Dynare Reference Manual',
u'Dynare team', 'manual'), u'Dynare team', 'manual'),
] ]
# -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [ man_pages = [
(master_doc, 'manual', u'Dynare Reference Manual', (master_doc, 'dynare', u'Dynare Reference Manual',
[author], 1) [author], 1)
] ]
# -- Options for Texinfo output ------------------------------------------- def setup(app):
# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 'Dynare', u'Dynare Reference Manual',
author, 'Test', 'One line description of project.',
'Miscellaneous'),
]
def setup(sphinx):
from dynare import DynDomain from dynare import DynDomain
sphinx.add_domain(DynDomain) app.add_domain(DynDomain)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment