Changed configuration (use a cleaner theme).
parent
2243067379
commit
6782121261
|
@ -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'
|
||||||
|
|
||||||
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
|
html_sidebars = {
|
||||||
# further. For a list of options available for each theme, see the
|
"**": [
|
||||||
# documentation.
|
"about.html",
|
||||||
#
|
"searchbox.html",
|
||||||
# html_theme_options = {}
|
"navigation.html",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
html_theme_options = {
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
'logo': 'dlogo.svg',
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
'logo_name': False,
|
||||||
# html_static_path = ['_static']
|
'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'
|
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):
|
||||||
|
from dynare import DynDomain
|
||||||
# Grouping the document tree into Texinfo files. List of tuples
|
app.add_domain(DynDomain)
|
||||||
# (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)
|
|
||||||
|
|
Loading…
Reference in New Issue