conf.py sample

Sample

# -*- coding: utf-8 -*-
source_suffix = '.rst'
master_doc = 'index'

project = u'sphinx-users.jp theme sample'
version = release = '0.1.0'
copyright = u'2011, Sphinx-users.jp'

################################################################
# Extension and Theme setting
# You need to install `easy_install sphinxjp.themes.sphinxjp`

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

################################################################
# HTML theme options for `sphinxjp` theme

html_theme_options = {
    'hatena_bookmark': False,
    'hatena_star': False,
    'hatena_star_token': '<GET YOUR HATENA STAR TOKEN AND SET HERE>',
}

HTML theme options

hatena_bookmark:
 Show hatena-bookmark bookmarked count and link. default is False. See also: http://b.hatena.ne.jp/help
hatena_star:Show hatena-star stars. default is False. See also: http://s.hatena.ne.jp/
hatena_star_token:
 If you set hatena_star = True, you need set this token. See also: http://s.hatena.ne.jp/