-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I did not notice before, but the recent pydata sphinx theme versions had unset our footer. I will send a PR later to fix the 0.5.0 docs in napari.github.io, but this fixes the immediate issues and changes the wording on the footer items as requested in #12 .
- Loading branch information
Showing
6 changed files
with
64 additions
and
43 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 |
---|---|---|
@@ -1,7 +1,25 @@ | ||
<footer class="napari-footer"> | ||
{% for footer_item in theme_footer_items %} | ||
<div class="footer-item"> | ||
{% include footer_item %} | ||
{% if theme_footer_start or theme_footer_center or theme_footer_end %} | ||
<div class="bd-footer__inner bd-page-width"> | ||
{% if theme_footer_start %} | ||
<div class="footer-items__start"> | ||
{% for item in theme_footer_start %} | ||
<div class="footer-item">{% include item %}</div> | ||
{% endfor %} | ||
</div> | ||
{% endfor %} | ||
</footer> | ||
{% endif %} | ||
{% if theme_footer_center %} | ||
<div class="footer-items__center"> | ||
{% for item in theme_footer_center %} | ||
<div class="footer-item">{% include item %}</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
{% if theme_footer_end %} | ||
<div class="footer-items__end"> | ||
{% for item in theme_footer_end %} | ||
<div class="footer-item">{% include item %}</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
{% endif %} |
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,7 @@ | ||
{%- extends "pydata_sphinx_theme/layout.html" %} | ||
|
||
{%- block footer %} | ||
<footer class="napari-footer"> | ||
{%- include "footer.html" %} | ||
</footer> | ||
{%- endblock %} |
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,40 +1,40 @@ | ||
<a class="footer-icon__hover-blue" href="https://napari.org" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://napari.org" title="napari.org" target="_blank" rel="noreferrer"> | ||
{% include "partials/napari.html" %} | ||
<span>napari</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://napari-hub.org" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://napari-hub.org" title="napari hub" target="_blank" rel="noreferrer"> | ||
{% include "partials/napari-hub.html" %} | ||
{% include "partials/napari-hub-light-blue.html" %} | ||
<span>napari hub</span> | ||
<span>Plugins</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://github.com/napari/napari" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://github.com/napari/napari" title="GitHub" target="_blank" rel="noreferrer"> | ||
{% include "partials/github.html" %} | ||
{% include "partials/github-light-blue.html" %} | ||
<span>GitHub</span> | ||
<span>Code</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://fosstodon.org/@napari" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://fosstodon.org/@napari" title="Mastodon" target="_blank" rel="noreferrer"> | ||
{% include "partials/mastodon.html" %} | ||
{% include "partials/mastodon-light-blue.html" %} | ||
<span>Mastodon</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://twitter.com/napari_imaging" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://twitter.com/napari_imaging" title="Twitter" target="_blank" rel="noreferrer"> | ||
{% include "partials/twitter.html" %} | ||
{% include "partials/twitter-light-blue.html" %} | ||
<span>Twitter</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://forum.image.sc/tag/napari" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://forum.image.sc/tag/napari" title="image.sc" target="_blank" rel="noreferrer"> | ||
{% include "partials/image-sc.html" %} | ||
{% include "partials/image-sc-light-blue.html" %} | ||
<span>image.sc</span> | ||
<span>Forum</span> | ||
</a> | ||
|
||
<a class="footer-icon__hover-blue" href="https://napari.zulipchat.com" target="_blank" rel="noreferrer"> | ||
<a class="footer-icon__hover-blue" href="https://napari.zulipchat.com" title="Zulip" target="_blank" rel="noreferrer"> | ||
{% include "partials/zulip.html" %} | ||
{% include "partials/zulip-light-blue.html" %} | ||
<span>Zulip</span> | ||
<span>Chat</span> | ||
</a> |
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