diff options
author | jason kirtland <jek@discorporate.us> | 2013-07-04 14:28:25 +0200 |
---|---|---|
committer | jason kirtland <jek@discorporate.us> | 2013-07-04 14:28:25 +0200 |
commit | ae5ddceeb46f18d1b7fb86532a1aa0fd1bbab503 (patch) | |
tree | 4cbac10f8e4a4a1740dd8cfc7291f6e9a199e1d3 /docs/source | |
parent | 7021cef3cb8f15fbc3879102a9be55a4f132c60d (diff) | |
download | blinker-ae5ddceeb46f18d1b7fb86532a1aa0fd1bbab503.tar.gz |
Switch to the Flask sphinx theme
Diffstat (limited to 'docs/source')
m--------- | docs/source/_themes | 0 | ||||
-rw-r--r-- | docs/source/conf.py | 87 |
2 files changed, 8 insertions, 79 deletions
diff --git a/docs/source/_themes b/docs/source/_themes new file mode 160000 +Subproject 0269f3d188eaff07c44a800f35f7351f9e0aefb diff --git a/docs/source/conf.py b/docs/source/conf.py index 1b9e7fc..d5af442 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -15,6 +15,7 @@ import sys # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.append(os.path.abspath('../../')) +sys.path.append(os.path.abspath('_themes')) # -- General configuration ----------------------------------------------------- @@ -24,16 +25,6 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.coverage'] -html_theme_path = ['.'] - -try: - import dbuilder -except ImportError: - pass -else: - extensions.append('dbuilder') - html_theme_path.append(path.join(dbuilder.__path__[0], 'theme')) - # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -106,84 +97,22 @@ pygments_style = 'sphinx' # -- Options for HTML output --------------------------------------------------- -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -html_theme = 'default' - -# 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 themes here, relative to this directory. -#html_theme_path = [] - -# The name for this set of Sphinx documents. If None, it defaults to -# "<project> v<release> documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# 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 - -# 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'] -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, -# using the given strftime format. -#html_last_updated_fmt = '%b %d, %Y' +html_theme_path = ['_themes'] -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True +html_theme = 'flask' -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_theme_options = { + 'index_logo': 'blinker-named.png', + #'github_fork': 'jek/blinker' +} -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -#html_use_modindex = True - -# If false, no index is generated. -#html_use_index = True - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. -#html_show_sphinx = True - -# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. -#html_show_copyright = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a <link> tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = '' +html_title = 'Blinker' # Output file base name for HTML help builder. htmlhelp_basename = 'Blinkerdoc' - # -- Options for LaTeX output -------------------------------------------------- # The paper size ('letter' or 'a4'). |