Skip to content

Commit 12ac953

Browse files
authored
Move links out of navbar and into sidebar / other docs. (#620)
# References and relevant issues Closes #615. Follow up of #610. Remake of #617 because I got confused with the commit history and merging # Description I think the navbar is a bit too cluttered due to the 'More' section being propagated to the sidebar in smaller width screens (and generally being finnicky) 1. Moves 3 lower-value (I still love them) links out of the navbar: blog, zulip chat, and workshop template 2. Moves blog to homepage sidebar (confirms there is a link to blog in community) 3. Moves workshop template link to Workshops page in Usage, also adds a link to Contributing index 4. Removes zulip link in favor of presence in homepage sidebar and presence in footer. If we want to keep this in header we should move the footer link up to the header in theme 5. Adds troubleshooting link to homepage sidebar (**check** that this is internally referenced correctly, I can't do https://napari.org/troubleshooting.html/ like I can for other internal refs, it 404s)
1 parent 652b3a4 commit 12ac953

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

docs/_templates/sidebar-link-items.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@
77
<li class="toctree-l1">
88
<a class="reference external" href="https://napari.zulipchat.com/">Community chat</a>
99
</li>
10+
<li class="toctree-l1">
11+
<a class="reference internal" href="troubleshooting.html">Troubleshooting</a>
12+
</li>
1013
<li class="toctree-l1">
1114
{% if version == "dev" %}
1215
<a class="reference internal" href="{{ 'release/index.html' }}">Release notes</a>
1316
{% else %}
1417
<a class="reference internal" href="{{ 'release/release_' + version.replace('.', '_') + '.html' }}">Latest release notes</a>
1518
{% endif %}
1619
</li>
20+
<li class="toctree-l1">
21+
<a class="reference external" href="https://napari.org/island-dispatch">Blog</a>
22+
</li>
1723
</ul>
1824
</div>
1925
</nav>

docs/conf.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@
107107
html_theme_options = {
108108
"external_links": [
109109
{"name": "napari hub", "url": "https://napari-hub.org"},
110-
{"name": "Island Dispatch", "url": "https://napari.org/island-dispatch"},
111-
{"name": "Community chat", "url": "https://napari.zulipchat.com"},
112-
{"name": "workshop template", "url": "https://napari.org/napari-workshop-template"},
113110
],
114111
"github_url": "https://github.com/napari/napari",
115112
"navbar_start": ["navbar-logo", "navbar-project"],

docs/developers/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ to napari.
77
napari has a [Code of Conduct](napari-coc) that should be honored by everyone who participates in the `napari` community.
88

99
- [](contact): how to contact us.
10-
- [](roadmaps): convey the general direction for napari development and possible
11-
work plans.
12-
- **Contributor guides**: resources on for contributors:
10+
- [](roadmaps): convey the general direction for napari development and possible work plans
11+
- [napari Workshop](https://napari.org/napari-workshop-template/home.html): create and deploy your own napari workshop materials
12+
13+
- **Contributor guides**: resources for contributors:
1314
- [Contributing guide](napari-contributing)
1415
- [Development installation](dev-installation)
1516
- [Testing](napari-testing)

docs/further-resources/napari-workshops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ You can find more videos of talks, tutorials and demos on the
99

1010
```{admonition} Got a workshop?
1111
If you are looking to create your own workshop, you can use the
12-
[napari workshop template](https://github.com/napari/napari-workshop-template)
12+
[napari workshop template](https://napari.org/napari-workshop-template/)
1313
as a starting point.
1414
1515
If you have organized a napari workshop and would like to see it featured here

0 commit comments

Comments
 (0)