Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional theme options and CIG logo. #381

Merged
merged 5 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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":".",
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/geodynamics/rayleigh",
"icon": "fab fa-github-square",
},
],
"show_navbar_depth": 1,
"use_repository_button": True,
"use_edit_page_button": True,
"use_issues_button": True,
"extra_navbar": "<p><img src=\"_static/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/_static/']

html_logo = 'doc/source/rayleigh_manual_image_logo.jpeg'
latex_logo = 'doc/source/rayleigh_manual_image_300dpi.jpeg'
Expand Down
Binary file added doc/source/_static/cig_logo_dots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.