diff --git a/docs/_static/logo_icon.ico b/docs/_static/logo_icon.ico new file mode 100644 index 0000000..468670e Binary files /dev/null and b/docs/_static/logo_icon.ico differ diff --git a/docs/_static/logo_icon.png b/docs/_static/logo_icon.png new file mode 100644 index 0000000..7ea90d6 Binary files /dev/null and b/docs/_static/logo_icon.png differ diff --git a/docs/_static/specreduce.css b/docs/_static/specreduce.css new file mode 100644 index 0000000..229d878 --- /dev/null +++ b/docs/_static/specreduce.css @@ -0,0 +1,15 @@ +@import url("bootstrap-astropy.css"); + +div.topbar a.brand { + background: transparent url("logo_icon.png") no-repeat 8px 3px; + background-image: url("logo_icon.png"), none; + background-size: 32px 32px; +} + +#logotext1 { + color: #519EA8; +} + +#logotext2 { + color: #FF5000; +} diff --git a/docs/conf.py b/docs/conf.py index 0468ad3..6649e7f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -93,17 +93,20 @@ # a list of builtin themes. To override the custom theme, set this to the # name of a builtin theme or the name of a custom theme in html_theme_path. #html_theme = None +html_static_path = ['_static'] # html_theme = None +html_style = 'specreduce.css' html_theme_options = { - 'logotext1': 'specreduce', # white, semi-bold - 'logotext2': '', # orange, light + 'logotext1': 'spec', # white, semi-bold + 'logotext2': 'reduce', # orange, light 'logotext3': ':docs' # white, light } - # Custom sidebar templates, maps document names to template names. #html_sidebars = {} +html_sidebars['**'] = ['localtoc.html'] +html_sidebars['index'] = ['globaltoc.html', 'localtoc.html'] # The name of an image file (relative to this directory) to place at the top # of the sidebar. @@ -112,7 +115,7 @@ # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. -#html_favicon = '' +html_favicon = '_static/logo_icon.ico' # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -125,6 +128,8 @@ # Output file base name for HTML help builder. htmlhelp_basename = project + 'doc' +# Prefixes that are ignored for sorting the Python module index +modindex_common_prefix = ["specreduce."] # -- Options for LaTeX output -------------------------------------------------