Open Table Of Contents

conf.py sample

Sample

# -*- coding: utf-8 -*-
#
# -- General configuration -----------------------------------------------------

source_suffix = '.rst'
master_doc = 'index'

project = u'sphinx theme for basicstrap style'
copyright = u'2012, tell-k'

version = '0.1.0'

# -- Options for HTML output ---------------------------------------------------

extensions = ['sphinxjp.themecore']
html_theme = 'basicstrap'

# -- HTML theme options for `dotted` style -------------------------------------

html_theme_options = {
    'lang': 'en',
    'nosidebar': False,
    'rightsidebar': False,
    'sidebar_span': 3,
    'nav_fixed': False,
    'nav_width': '900px',
    'content_fixed': False,
    'content_width': '900px',
    'row_fixed': False,
    'noresponsive': False,
    'googlewebfont': False,
    'googlewebfont_url': 'http://fonts.googleapis.com/css?family=Text+Me+One',
    'googlewebfont_style': "font-family: 'Text Me One', sans-serif",
    'header_inverse': False,
    'relbar_inverse': False,
    'inner_theme': False,
    'inner_theme_name': 'bootswatch-amelia',
}

HTML theme options

lang:Set the lang attribute of the html tag. Defaults to ‘en’
nosidebar:Disable to show the sidebar. Defaults to ‘false’
rightsidebar:Put the sidebar on the right side. Defaults to false.
sidbar_span:Set the width of the sidebar. Defaults to 3
nav_fixed:Fixed the width of the sidebar. Defaults to false
nav_width:Set the width of the sidebar. Defaults to ‘900px’
content_fixed:Fixed the width of the content area. Defaults to false
content_width:Set the width of the content area. Defaults to ‘900px’
row_fixed:Fixed the width of the row. Defaults to false
noresponsive:Disable the responsive design. Defaults to false
googlewebfont:Enable Google Web Font. Defaults to false
googlewebfont_url:
 Set the URL of Google Web Font’s CSS. Defaults to ‘http://fonts.googleapis.com/css?family=Text+Me+One
googlewebfont_style:
 Set the Style of Google Web Font’s CSS. Defaults to “font-family: ‘Text Me One’, sans-serif;”
header_inverse:Set ‘navbar-inverse’ attribute to header navbar. Defaults to false.
relbar_inverse:Set ‘navbar-inverse’ attribute to relbar navbar. Defaults to false.
inner_theme:Enable inner theme by Bootswatch. Defaults to false
inner_theme_name:
 Set the Name of Bootswatch Style. Defaults to ‘bootswatch-ameria’