# General information about the project.
project = u'Linux JM Guide'
-copyright = u'2016, Linux JM project'
+copyright = u'2016-2021, Linux JM project'
author = u'Linux JM project'
# The version info for the project you're documenting, acts as replacement for
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-# html_theme = 'alabaster'
-html_theme = 'bootstrap'
+html_theme = 'nature'
+# html_theme = 'pyramid'
+# html_theme = 'bootstrap'
# 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 = {}
-html_theme_options = {
- 'bootswatch_theme': 'cosmo',
- 'navbar_links': [
- (u'JM トップへ', 'http://linuxjm.osdn.jp/', 1),
- ],
- 'navbar_sidebarrel': False,
-}
+if html_theme == 'bootstrap':
+ html_theme_options = {
+ 'bootswatch_theme': 'cosmo',
+ 'navbar_site_name': '目次',
+ 'navbar_pagenav_name': 'ページ',
+ 'navbar_links': [
+ (u'JM トップへ', 'http://linuxjm.osdn.jp/', 1),
+ ],
+ 'navbar_sidebarrel': False,
+ 'globaltoc_depth': -1,
+ }
+else:
+ html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []