-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec5bb11
commit 9052030
Showing
7 changed files
with
109 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{# | ||
|
||
See https://github.com/pradyunsg/furo/blob/main/src/furo/theme/furo/page.html for the original | ||
block this is overwriting. | ||
|
||
The part that is customized is between the "begin of custom part" and "end of custom part" | ||
comments below. It uses the same styles as the existing right sidebar code. | ||
|
||
#} | ||
{% extends "furo/page.html" %} | ||
{% block right_sidebar %} | ||
<div class="toc-sticky toc-scroll"> | ||
{# begin of custom part #} | ||
<div class="toc-title-container"> | ||
<span class="toc-title"> | ||
YosysHQ | ||
</span> | ||
</div> | ||
<div class="toc-tree-container yosyshq-links" style="padding-bottom: 0"> | ||
<div class="toc-tree"> | ||
<ul> | ||
<li></li> | ||
<li><a class="reference external" href="https://yosyshq.readthedocs.io">Docs</a></li> | ||
<li><a class="reference external" href="https://blog.yosyshq.com">Blog</a></li> | ||
<li><a class="reference external" href="https://www.yosyshq.com">Website</a></li> | ||
</ul> | ||
</div> | ||
</div> | ||
{# end of custom part #} | ||
{% if not furo_hide_toc %} | ||
<div class="toc-title-container"> | ||
<span class="toc-title"> | ||
{{ _("On this page") }} | ||
</span> | ||
</div> | ||
<div class="toc-tree-container"> | ||
<div class="toc-tree"> | ||
{{ toc }} | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
sphinx-press-theme | ||
furo |
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 |
---|---|---|
@@ -1 +1,18 @@ | ||
/* empty */ | ||
/* Don't hide the right sidebar as we're placing our fixed links there */ | ||
aside.no-toc { | ||
display: block !important; | ||
} | ||
|
||
/* Colorful headings */ | ||
h1 { | ||
color: var(--color-brand-primary); | ||
} | ||
|
||
h2, h3, h4, h5, h6 { | ||
color: var(--color-brand-content); | ||
} | ||
|
||
/* Use a different color for external links */ | ||
a.external { | ||
color: var(--color-brand-primary) !important; | ||
} |