-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Gurobi/v2-update
clean up a few things and prepare v2.0.0 release
- Loading branch information
Showing
4 changed files
with
35 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{#- | ||
|
||
Adapted from the furo theme template at: | ||
https://github.com/pradyunsg/furo/blob/main/src/furo/theme/furo/sidebar/brand.html | ||
|
||
- Making the logo link to Gurobi.com | ||
- Make the project string link to master_doc | ||
|
||
-#} | ||
<a class="sidebar-brand{% if logo %} centered{% endif %}" href="https://www.gurobi.com"> | ||
{% block brand_content %} | ||
{%- if logo_url %} | ||
<div class="sidebar-logo-container"> | ||
<img class="sidebar-logo" src="{{ logo_url }}" alt="Logo"/> | ||
</div> | ||
{%- endif %} | ||
{%- if theme_light_logo and theme_dark_logo %} | ||
<div class="sidebar-logo-container"> | ||
<img class="sidebar-logo only-light" src="{{ pathto('_static/' + theme_light_logo, 1) }}" alt="Light Logo"/> | ||
<img class="sidebar-logo only-dark" src="{{ pathto('_static/' + theme_dark_logo, 1) }}" alt="Dark Logo"/> | ||
</div> | ||
{%- endif %} | ||
</a> | ||
<br> | ||
<a href="{{ pathto(master_doc) }}" | ||
<span class="sidebar-brand-text" >{{ docstitle if docstitle else project }}</span> | ||
</a> | ||
{% endblock brand_content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters