Skip to content

Commit

Permalink
Update cig logo option for sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Jul 9, 2023
1 parent 97b2def commit 0c3f1e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
# Required
version: 2

build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-4.10"

# Build documentation in the root directory with Sphinx
sphinx:
configuration: ./doc/sphinx/conf.py
Expand Down
2 changes: 1 addition & 1 deletion doc/sphinx/_templates/navbar_end.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p><img src="/en/latest/_static/images/cig_logo_dots.png" alt="CIG Logo" height="80px" style="padding: 5px;"/></p>
<img src="/en/latest/_static/images/cig_logo_dots.png" alt="CIG Logo" height="80px" style="padding: 5px;"/>
8 changes: 4 additions & 4 deletions doc/sphinx/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@
"use_edit_page_button": True,
"use_issues_button": True,
"home_page_in_toc": True,
}

html_sidebars = {
"**": ["navbar-logo.html","search-field.html","sbt-sidebar-nav.html","navbar_end.html"]
"logo": {
"text": "ASPECT " + release,
},
"primary_sidebar_end": "navbar_end.html"
}

bibtex_bibfiles = ["references.bib"]
Expand Down

0 comments on commit 0c3f1e9

Please sign in to comment.