Skip to content

Rustdoc: allow submodule navigation from crate-level index #1960

Closed
@bstrie

Description

@bstrie

An excerpt from the Rust stdlib crate index page ( http://doc.rust-lang.org/doc/std/index.html ):

  • Module net
  • Module os
  • Module os_fs

The os and os_fs modules both have submodules with their own pages, but currently the only way to access these pages (or even know they exist) is to visit the os or os_fs pages themselves and notice the links at the bottom of the table of contents. Showing submodules on the index page would ease navigation and exploration:

  • Module net
  • Module os
    • Module os::libc_constants
    • Native module os::libc
    • Native module os::rustrt
  • Module os_fs
    • Native module os_fs::rustrt

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions