Skip to content

Commit

Permalink
Add additional theme options and CIG logo.
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Sep 13, 2022
1 parent 608e710 commit 8b5dff9
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,32 @@
# a list of builtin themes.
#
html_theme = 'sphinx_book_theme'
html_theme_options = {
"collapse_navigation": True,
"navigation_depth": 3,
"show_toc_level": 3,
"repository_url": "https://github.com/geodynamics/rayleigh/",
"repository_branch": "master",
"path_to_docs":"doc/sphinx/",
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/geodynamics/rayleigh",
"icon": "fab fa-github-square",
},
],
"show_navbar_depth": 2,
"use_repository_button": True,
"use_edit_page_button": True,
"use_issues_button": True,
"extra_navbar": "<p><img src=\"/en/latest/_static/images/cig_logo_dots.png\" alt=\"CIG Logo\" height=\"80px\" style=\"padding: 5px;\"/></p>",
"home_page_in_toc": True,
}

# 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 = []
html_static_path = ['doc/source']

html_logo = 'doc/source/rayleigh_manual_image_logo.jpeg'
latex_logo = 'doc/source/rayleigh_manual_image_300dpi.jpeg'
Expand Down

0 comments on commit 8b5dff9

Please sign in to comment.