Commit Graph

19 Commits

Author SHA1 Message Date
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
Alexander Melentyev
dab42cff02 Delete spaces 2021-06-21 12:11:37 +03:00
flip1995
02bf692169 Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup 2021-04-22 11:31:13 +02:00
flip1995
f6d1f368db Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup 2021-04-08 17:50:13 +02:00
flip1995
ba4bf4f9c5 Merge commit '1fcc74cc9e03bc91eaa80ecf92976b0b14b3aeb6' into clippyup 2021-01-02 16:29:43 +01:00
flip1995
f03edfd7a1 Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup 2020-12-20 17:19:49 +01:00
Martin Taibr
3f7d0c8d75 Use the same <title> as <h1> on gh-pages 2019-02-28 19:17:10 +01:00
Michael Howell
67f50661eb
Use normal HTML label semantics for filter
I legitimately don't understand why you did it with ARIA instead.
2019-02-16 13:16:50 -07:00
Matthias Krüger
f5929e0797 rust-lang-nursery/rust-clippy => rust-lang/rust-clippy 2018-11-22 04:40:09 +01:00
Park Juhyung
4c88362a9d Website: Make lint categories linkable
Fixes #2973
2018-10-15 22:36:35 +09:00
Ivan Tham
340500ede5
Fix typo for panel cursor 2018-08-28 10:24:21 +08:00
Ivan Tham
2c65e7c835
Improve website panel heading experience 2018-07-19 14:12:47 +08:00
Pascal Hertleif
c43a8921bb Docs: Reorganize layout a bit and show lint groups 2018-04-10 12:25:53 +02:00
Pascal Hertleif
0527dbaddf Update URL in rendered docs Github ribbon
[ci skip]
2017-08-03 21:21:59 +02:00
Pascal Hertleif
3e2bb3fd81 Actually scroll lint panels into view
The trick to writing horrible hacks such as this is to recognize angular
as a technology stack that may be endearing to some as one can do easy
stuff quickly. But fundamentally, it is built on top of crazy shit.

Like: Yes, I just wrote a directive that for some reason automatically
has access to the scope of the repeated item, and fires an event each
time the last `np-repeat` item was seen (delayed by one render loop
cycle, of course). And – obviously – when defining the directive it is
in camelCase  but when using it in the template it has to by in
dash-case.

Great times.
2016-08-28 21:11:02 +02:00
Pascal Hertleif
816cf56b89 Tweak HTML version of docs with scroll to lints
Uses good old DOM events and wibbly-wobbly timeouts to wait for angular
to render this huge list of lints.

Fixes #1181
2016-08-28 17:04:54 +02:00
Pascal Hertleif
a4f070ba92 Add Level 'Deprecated' 2016-07-15 13:08:13 +02:00
Pascal Hertleif
bbbd0a5475 Adjust HTML Docs
- Section IDs, with handy anchor links
- Multiple filters for levels
- Table rendering, block quote size
- Nicer loading (hide un-rendered content)
- Code highlighting (only for Rust, of course!)
- Fix parsing of descriptions that have a newline after the section
  title (lead to duplicating the title, e.g., "Examples", in the
  content)
2016-07-14 21:00:20 +02:00
Pascal Hertleif
ba9eda7236 Add First Draft of Lint Listing Page 2016-07-12 16:31:13 +02:00