Skip to content

Doc landing page and the 404 page could have the library search box #14572

Closed

Description

@huonw

http://doc.rust-lang.org/master/ and http://doc.rust-lang.org/master/doesntexist could hook into the javascript that runs the search on http://doc.rust-lang.org/master/std/ to all show a search box themselves.

(The 404 page could even be intelligently auto-filled based on the URL, as an additional enhancement.)

Activity

  1. richo commented on May 31, 2014

    @richo
    Contributor

    This was originally my plan for it, but the javascript search thing is pretty strongly tied to the rustdoc output for a given crate.

  2. huonw commented on May 31, 2014

    @huonw
    ContributorAuthor

    @richo the search index is now global, all crates are in the one file.

  3. steveklabnik commented on Jun 1, 2014

    @steveklabnik
    Contributor

    👍

  4. richo commented on Jun 1, 2014

    @richo
    Contributor

    Amazing! I can probably get this out tonight.
    On 31/05/2014 4:47 pm, "Huon Wilson" notifications@github.com wrote:

    @richo https://github.com/richo the search index
    http://doc.rust-lang.org/master/search-index.js is now global, all
    crates are in the one file.

    —
    Reply to this email directly or view it on GitHub
    #14572 (comment).

  5. steveklabnik commented on Jun 23, 2014

    @steveklabnik
    Contributor

    @richo did anything come of this?

  6. richo commented on Jun 23, 2014

    @richo
    Contributor

    Not yet, I ended up deep in frontend hell. It's on my list but not a
    priority.

    On Mon, Jun 23, 2014 at 10:19 AM, Steve Klabnik notifications@github.com
    wrote:

    @richo https://github.com/richo did anything come of this?

    —
    Reply to this email directly or view it on GitHub
    #14572 (comment).

  7. frewsxcv commented on Feb 3, 2015

    @frewsxcv
    Contributor

    Triage: Just checked and the "Doc landing page and the 404 page" still don't utilize the library search box

  8. added
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    and removed on Mar 8, 2015
  9. steveklabnik commented on Mar 8, 2015

    @steveklabnik
    Contributor

    triage: re-tagging as 'rustdoc', since we'd need it to be able to do this before adding to the docs

  10. steveklabnik commented on Jun 6, 2016

    @steveklabnik
    Contributor

    Triage: no change

  11. added
    T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.
    and removed on May 18, 2017
  12. kzys commented on Sep 13, 2018

    @kzys
    Contributor

    It is possible to have a small form on https://doc.rust-lang.org/ which goes to https://doc.rust-lang.org/std/?search=vec. However the landing page is not generated by rustdoc afaik.

  13. added a commit that references this issue on Sep 16, 2018
  14. added a commit that references this issue on Sep 27, 2018
    f34805a
  15. added a commit that references this issue on Oct 8, 2018
    aefe9b0
  16. added a commit that references this issue on Jun 5, 2023
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

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.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