|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
|
|
|
|
import sphinx_bootstrap_theme |
|
|
|
from recommonmark.parser import CommonMarkParser |
|
|
|
|
|
|
|
# -- General configuration ------------------------------------------------ |
|
|
@ -18,7 +18,7 @@ extensions = ['sphinx.ext.autodoc', |
|
|
|
'sphinx.ext.napoleon'] |
|
|
|
|
|
|
|
# Add any paths that contain templates here, relative to this directory. |
|
|
|
templates_path = [] |
|
|
|
templates_path = ['_templates'] |
|
|
|
|
|
|
|
# The suffix(es) of source filenames. |
|
|
|
# You can specify multiple suffix as a list of string: |
|
|
@ -71,13 +71,18 @@ todo_include_todos = True |
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
|
|
|
# a list of builtin themes. |
|
|
|
# |
|
|
|
html_theme = 'classic' |
|
|
|
html_theme = 'bootstrap' |
|
|
|
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
|
|
|
|
|
|
|
# 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 = { |
|
|
|
'navbar_links': [ |
|
|
|
("Lighthacking Blog", "http://lighthacking.nl", True), |
|
|
|
], |
|
|
|
} |
|
|
|
|
|
|
|
# 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, |
|
|
|