update to bootstrap theme

This commit is contained in:
Sam 2019-07-14 15:31:04 +02:00
parent dd04386743
commit 9b7055d41c
3 changed files with 17 additions and 2 deletions

View File

@ -13,6 +13,8 @@
import os
import sys
import sphinx_bootstrap_theme
sys.path.insert(0, os.path.abspath('../../fittrackee_api'))
# -- Project information -----------------------------------------------------
@ -48,9 +50,14 @@ exclude_patterns = []
# 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_path = sphinx_bootstrap_theme.get_html_theme_path()
# 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']
html_theme_options = {
'bootswatch_theme': 'flatly',
}

View File

@ -25,6 +25,7 @@ pytest-isort = "*"
codacy-coverage = "*"
sphinx = "*"
sphinxcontrib-httpdomain = "*"
sphinx-bootstrap-theme = "*"
[requires]
python_version = "3.7"

View File

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "134c25ea1e934b2758ea7da371fcf16b4b9a8399e1f051988160b924848fc1db"
"sha256": "a74a823223e2e48a35a7f08bfddcf89689a23448852fb7748c91fdd62d6ef35b"
},
"pipfile-spec": 6,
"requires": {
@ -684,6 +684,13 @@
"index": "pypi",
"version": "==2.1.2"
},
"sphinx-bootstrap-theme": {
"hashes": [
"sha256:571e43ccb76d4c6c06576aa24a826b6ebc7adac45a5b54985200128806279d08"
],
"index": "pypi",
"version": "==0.7.1"
},
"sphinxcontrib-applehelp": {
"hashes": [
"sha256:edaa0ab2b2bc74403149cb0209d6775c96de797dfd5b5e2a71981309efab3897",