-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Interest in More Custom Clippy Docs/Website? #1088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👍 |
Something like this should be able to automatically update when we push to master (even better: when we release a new version, Travis tests tags I believe). Also I'm not a big fan of JavaScript heavy websites (but I guess it's my fault for not living with my time): |
Me too, as really often it's not necessary. Sadly, it's much easier to do that (take JSON, filter by fields, output HTML). I'm probably going to copy that page and just adjust the output a bit. It's not set in stone, though, feel free to change it :) |
I don't know how relevant this is to clippy but anyways: At work we use an older version of jshint. And while configuring jshint I had some problems because some things had different names in the old version or had some other subtle differences. But the jshint website only shows the documentation for the newest version. I probably could have tried to build an old version of the webpage locally but I just ended up looking at the code and figuring things out this way. I don't know if this would be difficult to do but it might be nice if you could see the documentation for the lints for all releases of clippy. (Like with a little dropdown where you can select the version) But I don't think that that's really important. I't would just be nice to have. |
I try to maintain a changelog for Clippy with new lints, breaking changes in rustc API and other random things I fell should be in there. But I'm pretty sure I forgot to update it more than once. |
Hm, versioning clippy docs is interesting. A use case: I may be stuck on a specific nightly that requires me to stay on an older clippy release. There are a few things we could do to supply versioned docs:
|
IMO the doc should be available at As for embedding the docs in |
Are there any more actions required to resolve this issue? |
I don't think so. Just ping me if something comes up! |
Clippy's docs (the wiki page) is getting longer and longer and could be improved quite a bit by adding a more custom search with a few filter options. cmd+f works okay, but only too a certain extend.
I think I could whip something up quite quickly by dumping the lint info not to a wiki string, but into a JSON file. The result would looks like bitrust, but with lints instead of commits.
Would this be something you'd like to have? Do you have some other ideas for this?
The text was updated successfully, but these errors were encountered: