Commit Graph

174 Commits

Author SHA1 Message Date
alexey semenyuk
9ef76e051b
Fixed comment 2022-07-03 19:03:51 +00:00
alexey semenyuk
65655d1e1e
Remove trailing spaces 2022-07-03 17:44:09 +03:00
alexey semenyuk
7350525ffb
Fix link 2022-07-01 18:31:57 +00:00
unvalley
4e7ed42867 Add description meta tag for lint list 2022-06-20 00:19:08 +09:00
Serial
fdadebe672 Add lint output to lint list 2022-06-06 20:04:56 -04:00
Serial
0fd03a85de Strip clippy:: prefix from search strings 2022-05-22 15:24:47 -04:00
Serial
569505cebd Auto-detect preferred colorscheme 2022-05-19 18:33:16 -04:00
Serial
e05da56d6b textContent -> innerHTML 2022-05-18 15:37:05 -04:00
Serial
8aae26b227 innerHTML -> textContent 2022-05-18 15:01:02 -04:00
Serial
27fec01fa8 Add copy lint name button 2022-05-18 10:19:50 -04:00
Serial
f112e4d445 Improve appearance on smaller screens 2022-05-15 12:43:35 -04:00
Serial
b81d703970 Use early returns 2022-05-15 11:30:00 -04:00
Serial
a30587e0fe Switch input to type=number; Separate version validation out of byVersion 2022-05-14 20:08:10 -04:00
Serial
4ed52bf13e Use CamelCase; Fix filter ranges 2022-05-05 18:27:56 -04:00
Serial
dd7bc86f22 Change input placeholder 2022-05-04 20:43:08 -04:00
Serial
2c70af3cd5 Only require minor version 2022-05-03 18:12:31 -04:00
Serial
9173780568 Make filters implicit; Update symbols 2022-04-29 19:57:16 -04:00
Serial
06cc1abbb1 Move js out to its own file 2022-04-26 18:22:37 -04:00
Serial
bdc8961659 Add version filtering option to the lint list 2022-04-26 18:21:22 -04:00
bors
8ae74da63b Auto merge of #8070 - CrazyRoka:update-gh-pages-checkbox-styles, r=camsteffen
Improve styles of filtering options for Clippy's lint list

Partially solves #7958

Updated styles for filtering options. It now uses dropdown menus.

![image](https://user-images.githubusercontent.com/19844144/144608479-cdd9de0b-f101-4d49-a135-0969efb01a11.png)

changelog: none
2022-03-10 03:08:34 +00:00
Rob Ede
a8e1352d78
Autofocus search input 2022-01-25 00:15:11 +00:00
Andrew Archibald
65c072d7e6 Update markdown-it version 2022-01-13 20:01:56 -07:00
CrazyRoka
296af08b3c Removed unused styles and labels in dropdowns 2021-12-16 19:01:31 +02:00
CrazyRoka
4161a67c1b Added dropdown directive to theme-selector 2021-12-16 18:57:59 +02:00
CrazyRoka
bb531320eb Improved performance by adding ng-if 2021-12-16 18:57:59 +02:00
CrazyRoka
dcfb756b97 Fixed overlapping "Fork me" logo 2021-12-16 18:57:59 +02:00
CrazyRoka
76e95e28c2 Fixed theme selector and repositioned search input 2021-12-16 18:57:59 +02:00
CrazyRoka
e895d2b52a Fixed error in Firefox and selected button style 2021-12-16 18:57:59 +02:00
CrazyRoka
f71039ae69 Fixed styles on all themes 2021-12-16 18:57:59 +02:00
CrazyRoka
cb113d3a41 Updated badge 2021-12-16 18:57:59 +02:00
CrazyRoka
0f655db00d Added badge to display selected elemenets count 2021-12-16 18:57:59 +02:00
CrazyRoka
a71f1997d8 Updated styles for checkboxes 2021-12-16 18:57:59 +02:00
xFrednet
17b747857f
Add margin after lists on Clippy's lint list 2021-12-03 20:24:23 +01:00
xFrednet
8c45fd88d0
New internal lint to make clippy::version attribute mandatory 2021-11-11 13:03:30 +01:00
xFrednet
d68408f4ad
Updated version label and style on Clippy's lint list 2021-11-10 19:48:32 +01:00
xFrednet
8565fc468e
Add clippy version to Clippy's lint list 2021-11-10 19:48:30 +01:00
Michael Wright
6035e050e8 Add includes to pre-commit hook 2021-09-29 05:46:43 +02:00
Philipp Krones
bcdf147aaf
Rollup merge of #7298 - flip1995:ci-switch-to-monster, r=xFrednet,flip1995
Switch CI to new metadata collection

r? `@xFrednet`

Things we have to keep in mind:

- This removes the template files and the scripts used for deployment from the checkout. This was added in #5517. I don't think we ever needed those there. Not sure though.
- ~~As a result, we can't remove the python scripts yet. We have to wait until this hits a stable Clippy release.~~ I'll just break the next stable deploy and do it by hand once.
- This should be merged together with #7279. Me and `@xFrednet` will coordinate the switch
- ...?

I still have to try out some things:

- [x] Is it worth caching? Yes
- [x] ~~Is it worth to do a release build?~~ Nope
- [x] Does it actually work? With a few changes, yes
- [ ] ...?

changelog: Clippy now uses a lint to generate its documentation 🎉
2021-07-28 15:06:26 +02:00
xFrednet
322a768c77
Adapting the lint list to Clippy's new metadata format
Changes included:
    - Minimum adaption to the new `lints.json` format
    - Fixing filtering for the new `lints.json` format; hardcoding the
      lint groups in the index
    - Recreating the original doc styling for the new format
    - Fixed sytax highlighting for rust,ignore code blocks
    - Fixed markdown table extraction in the metadata collector and
      fixed lint level output
    - Adding the additional information row for lints
    - Changed the website title to Clippy's lint list
    - Flexing the website for mobile users
    - Added (?) references for lint levels and groups
    - Making deprecated lints look dead
    - Removed JS code block language extraction in favor of a rust
      implementation `rust-clippy#7352`
    - Added the suspicious lint group to the lint list
    - Remove trailing whitespaces from index.html
    - Fix code highlighting
    - Use default value if the docVersion is empty

Co-authored-by: Philipp Krones <hello@philkrones.com>
2021-07-28 15:03:55 +02:00
flip1995
fe25282aaa
Remove old python lint doc generation scripts 2021-07-28 14:18:40 +02:00
flip1995
a82a744155
Merge remote-tracking branch 'upstream/master' into rustup 2021-07-01 17:41:24 +02:00
bors
f4bc9cf390 Auto merge of #7409 - xFrednet:5394-vs-code-tasks, r=giraffate,flip1995
Added `cargo dev setup vscode-tasks` for simplicity

This PR adds a setup command to `clippy dev` that installs tasks into the Clippy vscode workspace. These might be useful as they be used via shortcuts and are accessible over the GUI. The available tasks are:
* `cargo check` (standard Linux shortcut `[ctrl] + [shift] + b`)
* `cargo dev fmt`
* `cargo uitest` (with a comment how to add the `TESTNAME` environment value)
* `cargo test`
* `cargo dev bless`

---

changelog: none

only internal changes again. cc #5394

r? `@flip1995` This should be pretty much the same as the other `cargo dev setup` commands. Would you mind reviewing this? 🙃
2021-06-29 08:53:59 +00:00
xFrednet
e40019134b Updated clippy_dev ui message and vscode task name
Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
2021-06-28 20:40:09 +02:00
xFrednet
2098b27a20 Added cargo dev setup vscode-tasks for simplicity 2021-06-27 22:36:41 +02:00
Cameron Steffen
7e21db5b5c Add suspicious group 2021-06-25 08:53:29 -05:00
xFrednet
41bc0f4d4d
Adjust pre-commit script to readd files after formatting 2021-06-25 11:16:59 +02:00
xFrednet
0a5f28c4b0
Added cargo dev setup git-hook 2021-06-25 11:16:59 +02:00
Alexander Melentyev
dab42cff02 Delete spaces 2021-06-21 12:11:37 +03:00
xFrednet
96a9786b1c Fixed broken deploy script due to multiline configuration docs 2021-06-20 22:32:32 +02:00
flip1995
6c27482115 Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup 2021-06-03 08:41:37 +02:00