X-Git-Url: https://git.llucax.com/personal/website.git/blobdiff_plain/82c67a166ee0d3d8893c3ae1e84f91f067045fd0..509a970004f313161a37205ad6d2ab61ccf80604:/source/conf.py diff --git a/source/conf.py b/source/conf.py index e7f1b99..67fcd1a 100644 --- a/source/conf.py +++ b/source/conf.py @@ -12,6 +12,7 @@ # serve to show the default. import sys, os +import guzzle_sphinx_theme # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -37,7 +38,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Lala' +project = u'Leandro Lucarella' copyright = u'2009, Leandro Lucarella' # The version info for the project you're documenting, acts as replacement for @@ -89,24 +90,28 @@ pygments_style = 'sphinx' # -- Options for HTML output --------------------------------------------------- +# Register the theme as an extension to generate a sitemap.xml +extensions.append("guzzle_sphinx_theme") + # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = 'default' +html_theme = 'guzzle_sphinx_theme' -# 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 = {} +# Guzzle theme options (see theme.conf for more information) +html_theme_options = { + # Set the name of the project to appear in the sidebar + "project_nav_name": "Leandro Lucarella", +} # Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = [] +html_theme_path = guzzle_sphinx_theme.html_theme_path() # The name for this set of Sphinx documents. If None, it defaults to # " v documentation". -html_title = "Leandro Lucarella's Home Page" +html_title = "Leandro Lucarella" # A shorter title for the navigation bar. Default is the same as html_title. -html_short_title = "Home" +html_short_title = "Luca's Web" # The name of an image file (relative to this directory) to place at the top # of the sidebar. @@ -115,7 +120,7 @@ html_short_title = "Home" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -#html_favicon = None +html_favicon = "_static/favicon.png" # 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, @@ -131,7 +136,12 @@ html_static_path = ['_static'] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { '**': [ + 'logo-text.html', + 'globaltoc.html', + 'searchbox.html', + 'sidebar_donate.html', +] } # Additional templates that should be rendered to pages, maps page names to # template names.