metamask-docs icon indicating copy to clipboard operation
metamask-docs copied to clipboard

Improved navigation between products / versions

Open vandan opened this issue 2 years ago • 2 comments

@eriknson commented on Tue Apr 04 2023

Let's add a filter for (1) product and (2) version above the left-side-nav instead of our current tabs in the top bar to:

  • Visually connect the filtering with the left-side-nav.
  • Create a surface where we can briefly introduce each of our products via the subtitles.
  • Support versioning cross-products.
  • Scale smoothly if we want to add more top-level filters.
Docs navigation-closeup

Overview Docs-navigation


@vandan commented on Tue Apr 04 2023

The Product Filter + Version looks nice. It keeps the top-nav clean.

In this arrangement, do you have thoughts about where we would put an intro or general concepts? I'm thinking we could still default to Wallet API, which could include general guidelines and prominent references to the other products.


@eriknson commented on Wed Apr 05 2023

@vandan exactly, I'm thinking we would have a default choice which would include that kind of content

vandan avatar Apr 14 '23 22:04 vandan

I've been digging into docusaurus documentation, looking at local installs, etc and can not find anything suggesting that it supports this functionality @vandan

andrewjcohen avatar Jan 19 '24 17:01 andrewjcohen

Right, @andrewjcohen it's not out-of-the-box functionality, but I believe it's possible to customize in case we believe it's significantly impactful.

Some references for a site that does use dropdowns in a docusaurus project: https://docs.moralis.io/web3-data-api/evm/reference https://github.com/MoralisWeb3/docs

May be accomplished through Swizzling: https://docusaurus.io/docs/swizzling

vandan avatar Jan 19 '24 22:01 vandan