Commit graph

82 commits

Author SHA1 Message Date
Folyd
fea3453d3e Remove anyhow 2021-03-06 13:38:41 +08:00
Folyd
d8377da75b Index more book for books searching 2021-03-06 13:21:44 +08:00
Folyd
d9ad14c152 Fix books page parse error 2021-03-06 00:07:37 +08:00
Folyd
c58bb0aed7 Remove rust blog url task 2020-12-20 13:07:50 +08:00
Folyd
9170336521 Normalize rust blog url special cases 2020-12-05 13:13:17 +08:00
Folyd
d53bc1810a Fix rust blog urls bug 2020-12-04 23:38:26 +08:00
Folyd
e3e5d899b6 Refractor labels task 2020-12-02 10:56:41 +08:00
Folyd
e1f2b5867b Add short flag for subcommands 2020-12-02 10:41:26 +08:00
Folyd
55e3e41da6 Refractor lints and rust_blog_url task 2020-12-02 00:00:54 +08:00
Folyd
37228ef0d1 Refractor rust projects 2020-12-01 22:08:21 +08:00
Folyd
fa2b01820e Parse release version from rust blog urls 2020-11-30 23:31:11 +08:00
Folyd
ceb3dd5177 Parse rust blog page urls 2020-11-30 08:37:04 +08:00
Folyd
3d31828a93 Fix lints index parse json error 2020-11-21 16:34:24 +08:00
Folyd
b84cd3907a Trim string quote for caniuse value 2020-10-27 11:29:20 +08:00
Folyd
1f556f1224 Use regex to match caniuse key and value 2020-10-26 17:34:46 +08:00
Folyd
0a9b113e28 Ignore non-markdown files (such as version.toml) when building caniuse index 2020-10-23 13:56:26 +08:00
Folyd
54738f1753 Cargo clippy and fmt 2020-10-22 22:49:23 +08:00
LOU Xun
623e2bb790
Add Rust binary to update caniuse.rs index
Also revamp descriptions
2020-10-05 16:22:38 +00:00
Folyd
5ca4a29084 Index Rustc development guide book failed, remove the book 2020-08-06 12:31:03 +08:00
Folyd
154e8df38e Add two new book for searching 2020-08-06 11:16:27 +08:00
Folyd
f9c535cc08 Use rayon's parallel iter to speed up building crates index 2020-06-10 21:43:51 +08:00
Folyd
57dc9fd9c4 Trim and replace \n for each crate description 2020-05-30 18:41:27 +08:00
Folyd
26d41bb7fd Add cargo index build task to Makafile 2020-04-23 14:36:33 +08:00
Folyd
9c24fa21d0 Clean labels-index code 2020-03-26 10:50:08 +08:00
Folyd
0f64785abf Add labels-index.js 2020-03-25 23:44:43 +08:00
Folyd
79812b2649 Add labels-index task 2020-03-25 21:39:38 +08:00
Folyd
b76ad6aad5 Restore ignore to aggregate the crate id 2020-03-14 00:34:36 +08:00
Folyd
926f1c0f68 Fix compile error 2020-03-13 23:20:50 +08:00
Folyd
640396a289 Skip when crate name equals description, otherwise will cause Unexpected token '[' error. 2020-03-13 22:44:23 +08:00
Folyd
5bc022f5bc Change base_url to root path 2020-03-13 11:54:08 +08:00
Folyd
fc93600c15 Remove clean_tokens step when minify js 2020-03-12 23:13:38 +08:00
Folyd
6fe58a7936 Clean token when minify js 2020-03-06 00:54:12 +08:00
Folyd
6aad602f55 Add clippy lints search 2020-03-05 23:33:32 +08:00
Folyd
2280911226 Generate lints index 2020-03-04 01:01:05 +08:00
Folyd
ba523999d5 Split dependencies with feature flags 2020-02-27 17:12:21 +08:00
Folyd
2f449ff599 Parse csv from tar file directly to generate crates index 2020-02-27 15:45:15 +08:00
Folyd
aa1548276d Speed up crates index 2020-02-27 11:51:37 +08:00
Folyd
36dd233e88 Build crates index way from the dumped database file, discard old API crawl way due to speed and accuracy issues 2020-02-27 01:09:57 +08:00
Folyd
72bb099911 Check char boundary to prevent panic 2020-02-25 15:15:52 +08:00
Folyd
cf5894e129 Minifier letter change to prefix and suffix combination 2020-02-24 00:30:04 +08:00
Folyd
61984354b6 Fix try truncate unwrap panic 2020-02-23 21:24:28 +08:00
Folyd
3722218f62 Implement TryTruncate trait for String 2020-02-23 19:45:54 +08:00
Folyd
4f4035f4eb Try bump crates index number to 20K 2020-02-23 14:46:39 +08:00
Folyd
8d1d148b84 Cargo clippy 2020-02-22 17:05:28 +08:00
Folyd
28dcf4c822 Minify books index file 2020-02-22 16:22:41 +08:00
Folyd
0e83e7efc6 Implement Serialize for Page struct 2020-02-22 16:11:01 +08:00
Folyd
4c8764e5ad Fix parse book chapters issues 2020-02-22 15:56:22 +08:00
Folyd
8f26302044 Parse book chapters recursively 2020-02-22 15:44:35 +08:00
Folyd
e0a35b8c47 Add basic book search feature 2020-02-17 11:54:27 +08:00
Folyd
d74efaffe0 Optimize index javascript file structure 2020-02-12 15:12:30 +08:00