Skip to content

Discontinue local API docs? #1682

Closed

Description

@dhardy

Rand has been publishing API docs via GH-pages since before docs.rs become "the standard source of docs".

This is still functional: https://rust-random.github.io/rand/rand/index.html

It represents the state of the master branch, not the state of the last release.

When last discussed, this still had significant value in that cross-crate links worked better here than on docs.rs. This issue is still not fixed on docs.rs.

Unfortunately it's also much less relevant here: both rand_core and rand_distr now live in their own repos.

We could:

  1. Check out the latest versions of each repo when doing a GH-pages build. Unfortunately there is no guarantee that the latest version of each repo will work together.
  2. Get rid of the GH pages. Does anyone still use them?
  3. Leave as-is

Activity

  1. newpavlov commented on Nov 6, 2025

    @newpavlov
    Member

    I am in favor of the second option.

  2. FeldrinH commented on Dec 5, 2025

    @FeldrinH

    At least for me, the GitHub docs page does not come up in the first page of google results, so I have never seen it and have always used docs.rs.

  3. josephlr commented on Dec 5, 2025

    @josephlr
    Member

    Using docs.rs seems better than using the Github Pages version. For example, the pub use rand_core; re-export correctly works on docs.rs, but seems broken on the Github Pages.

  4. added a commit that references this issue on Dec 5, 2025
    17b12b1
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