rust-lang / rust-lang/rust-clippy

have different docs for nightly/beta/stable channels

Open
#3,455 4 comments 1 reaction 1 assignee View on GitHub

@oli-obk is already working on this.

Since Dec 12, 2018.

A-infra A-website
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Currently clippy suggestion urls point to mostly the same page regardless of rustc release channel

stable:

    = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#unreadable_literal

beta:

    = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/master/index.html#unnecessary_mut_passed

nightly:

    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unreadable_literal

If a lint gets removed/downgraded in the current master branch and the docs get updates, the clippy version used on stable might not reflect this but still points to the master docs.
I think we need separate docs for nightly/stable/beta branches of the compiler.
Perhaps we can use separate branches for each release (like 1.30) or channel?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.