Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Sort sidebar menus by alphabetical order #137

Open

Description

@vasco3

The sidebar menus would be easier to read if they were ordered alphabetically.
Also it would help to spot duplicates.

Activity

  1. ryyppy commented on Feb 28, 2020

    @ryyppy
    Member

    Which sidebar items are you referring to? The docs follow a certain narrative, for the API module items it follows the order of the document body

  2. vasco3 commented on Feb 28, 2020

    @vasco3
    ContributorAuthor

    this one
    image

    and this

    image

    for example, I wanted to know if List had a filter method. So I had to search with Cmd-F because List has many methods and they aren't sorted. If they were by alphabet then i could just skim to the methods starting with F and that way be more efficient.

  3. ryyppy commented on Mar 2, 2020

    @ryyppy
    Member

    I see, yeah that is a good idea. The index data is generated from the scripts/extract-indices.js script.. we will consider this when building the odoc json extraction tool. I'd also accept a PR that modifies the before mentioned extraction script

  4. ryyppy commented on May 2, 2020

    @ryyppy
    Member

    Update: we are currently in the process of generating the API docs from the actual BuckleScript modules via odoc. We will implement the sidebar ordering there.

  5. vasco3 commented on May 3, 2020

    @vasco3
    ContributorAuthor

    awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions