napari / napari.github.io

website for the napari image viewer
https://napari.org/
44 stars 43 forks source link

Expand TOC when on index page #319

Closed codemonkey800 closed 2 years ago

codemonkey800 commented 2 years ago

Description

This PR updates the TOC to expand when on an index page.

Demo

https://napari-org-expand-toc.vercel.app/tutorials/index.html

image

codemonkey800 commented 2 years ago

There's an option to add an intro to every page, but it's not configured for this one yet. We could do some kind of automatic intro extraction by using the first paragraph element or something

codemonkey800 commented 2 years ago

Either way I think that's something that can be handled in another PR

liaprins-czi commented 2 years ago

Okay cool, that makes sense!

On Fri, Jan 14, 2022 at 1:06 PM Jeremy Asuncion @.***> wrote:

Either way I think that's something that can be handled in another PR

— Reply to this email directly, view it on GitHub https://github.com/napari/napari.github.io/pull/319#issuecomment-1013473579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWPDSEVAVNDVLKHZCJFD2LUWCF6XANCNFSM5L2HEBQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because your review was requested.Message ID: @.***>

--

Lia Prins

Senior Data Visualization Designer

(650) 422-1750

chanzuckerberg.com