Changed configuration (use a cleaner theme).

time-shift
Stéphane Adjemia (Scylla) 2018-10-27 12:39:14 +02:00
parent 2243067379
commit 6782121261
Signed by untrusted user who does not match committer: stepan
GPG Key ID: A6D44CB9C64CE77B
1 changed files with 23 additions and 42 deletions

View File

@ -25,9 +25,11 @@ sys.path.insert(0, os.path.abspath('../../py/domain/'))
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.mathjax']
source_suffix = '.rst'
templates_path = ['_templates']
source_suffix = '.rst'
html_static_path = ['_static']
master_doc = 'index'
@ -48,65 +50,44 @@ highlight_language = 'dynare'
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 = {}
html_sidebars = {
"**": [
"about.html",
"searchbox.html",
"navigation.html",
]
}
# 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_theme_options = {
'logo': 'dlogo.svg',
'logo_name': False,
'fixed_sidebar': True,
'sidebar_collapse': True,
'show_relbar_top': True,
'show_relbar_bottom': True,
}
html_logo = 'dynarelogo.png'
# -- Options for HTMLHelp output ------------------------------------------
# Output file base name for HTML help builder.
htmlhelp_basename = 'Dynaremanual'
# -- Options for LaTeX output ---------------------------------------------
latex_elements = {
'sphinxsetup': 'VerbatimBorderColor={rgb}{1,1,1},VerbatimColor={RGB}{240,240,240}, \
warningBorderColor={RGB}{255,50,50},OuterLinkColor={RGB}{34,139,34}, \
InnerLinkColor={RGB}{51,51,255},TitleColor={RGB}{51,51,255}',
'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 = [
(master_doc, 'dynare.tex', u'Dynare Reference 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 = [
(master_doc, 'manual', u'Dynare Reference Manual',
(master_doc, 'dynare', u'Dynare Reference Manual',
[author], 1)
]
# -- Options for Texinfo output -------------------------------------------
# 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
sphinx.add_domain(DynDomain)
def setup(app):
from dynare import DynDomain
app.add_domain(DynDomain)