Skip to content

Commit

Permalink
Changed sqhinx theme to classic
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatan treijs committed Feb 9, 2018
1 parent 5006dda commit c901b65
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions kamaji-api/doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
import inspect
import sys
import os
import sphinx_bootstrap_theme
#import sphinx_bootstrap_theme
import django
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('../../'))


if "DJANGO_SETTINGS_MODULE" not in os.environ:
os.environ["DJANGO_SETTINGS_MODULE"] = "api.settings.dev_local"

# Setup Django and load AppRegistry
django.setup()

Expand Down Expand Up @@ -121,7 +125,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'bootstrap'
html_theme = "classic"

# 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
Expand All @@ -130,10 +134,10 @@

# HTML navbar class (Default: "navbar") to attach to <div> element.
# For black navbar, do "navbar navbar-inverse"
'navbar_class': "navbar",
#'navbar_class': "navbar",
# Fix navigation bar to top of page?
# Values: "true" (default) or "false"
'navbar_fixed_top': "true",
#'navbar_fixed_top': "true",

# A list of tuples containing pages or urls to link to.
# Valid tuples should be in the following forms:
Expand All @@ -142,29 +146,29 @@
# (name, "http://example.com", True) # arbitrary absolute url
# Note the "1" or "True" value above as the third argument to indicate
# an arbitrary url.
'navbar_links': [
("Kamaji Docs", "http://docs.i.pwny.se", True),
# ("Tools", "tools"),
],
#'navbar_links': [
# ("Kamaji Docs", "http://docs.i.pwny.se", True),
# # ("Tools", "tools"),
#],

# Tab name for the current pages TOC. (Default: "Page")
'navbar_pagenav_name': "Current Page",
#'navbar_pagenav_name': "Current Page",

# Bootswatch (http://bootswatch.com/) theme.
#
# Options are nothing (default) or the name of a valid theme
# such as "amelia" or "cosmo".
'bootswatch_theme': "yeti",
#'bootswatch_theme': "amelia",

# Choose Bootstrap version.
# Values: "3" (default) or "2" (in quotes)
'bootstrap_version': "3",
#'bootstrap_version': "3",

}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
#html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down

0 comments on commit c901b65

Please sign in to comment.