Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from gandorm/new/update-doc
Browse files Browse the repository at this point in the history
Update: change documentation layout
  • Loading branch information
gandorm committed Apr 14, 2020
2 parents 3550af7 + e7a5f4c commit 3dfb346
Show file tree
Hide file tree
Showing 3 changed files with 6,072 additions and 4 deletions.
21 changes: 17 additions & 4 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,29 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#html_theme = 'default'
html_theme = 'agogo'
html_theme = 'sphinx_rtd_theme'

# 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 = {
"sticky_navigation": True,
"collapse_navigation": False,
'includehidden': False,
}

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

if True: #
# Override default css to get a larger width for ReadTheDoc build
html_context = {
'extra_css_files': [
'static/css/tango_cs_theme.css',
'static/css/meta_label_tango.css'
],
}

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
Expand All @@ -112,7 +125,7 @@
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = 'panic-6-thin.png'
html_logo = '../panic/gui/icon/panic-6.png'

# 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
Expand All @@ -122,7 +135,7 @@
# 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_static_path = ['./static']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
6 changes: 6 additions & 0 deletions doc/static/css/meta_label_tango.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.meta-label {

}
.meta-label .label {
color:rgb(39, 174, 96)
}
Loading

0 comments on commit 3dfb346

Please sign in to comment.