Commit Graph

14 Commits

Author SHA1 Message Date
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
Matthias Krüger
2665f10662 fix a bunch of typos found by codespell 2018-07-25 20:02:52 +02: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
02f2035389 Docs index: Sort versions in a nice way
This introduces a very sophisticated algorithm to determine the ordering
of versions on the rendered docs' start page.

(Spoiler alert: It maps "master" and "current" to the largest possible
float values and converts a version like "1.2.3" to "1002003".)
2017-08-07 13:00:43 +02:00
Pascal Hertleif
b3c90efcb4 Generate version index for docs domain index
Uses basically the same code as the lint docs page as I didn't want to
reinvent anything: A simple python script (inline in deploy script)
writes an array of versions to a JSON file, which gets turned into a
list of links using a bit of angular.js code.

Fixes #1917
2017-08-03 21:21:59 +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