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 os
import sys import sys
import sphinx_bootstrap_theme
sys.path.insert(0, os.path.abspath('../../fittrackee_api')) sys.path.insert(0, os.path.abspath('../../fittrackee_api'))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
@ -48,9 +50,14 @@ exclude_patterns = []
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # 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, # 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, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
html_theme_options = {
'bootswatch_theme': 'flatly',
}

View File

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

View File

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