Commit graph

668 commits

Author SHA1 Message Date
Folyd
422f0fca6f Update the latest search-index 2021-03-27 00:03:37 +08:00
Folyd
2d4fdaedab Remove extension.sh permission 2021-03-26 23:01:54 +08:00
Folyd
ae7121cce8 Release version 1.2.0 🎉🥳🥳 2021-03-21 12:19:23 +08:00
Folyd
3a4aab0235 Update the changelog 2021-03-21 12:07:00 +08:00
Folyd
d56d7f392c Compat the new style of search-index.js format. Fixes #106
librustdoc has switched the search-index.js from a "array of struct" to a "struct of array" format.We need to compat both the new and old formats.
2021-03-20 12:25:16 +08:00
Folyd
4f0be20ae2 Add comments about rustc cache policy 2021-03-20 12:23:44 +08:00
Folyd
eefa192c90 Fix search-index.js on-demand load mode compatiblity
rustdoc merged a new PR [#82310](https://github.com/rust-lang/rust/pull/82310) a few days ago, this cause breaking changes to this extension. This commit aims to fix this incompatibility.
2021-03-18 00:43:48 +08:00
Folyd
69bae0b486 Update Carbon placement code 2021-03-12 23:51:38 +08:00
Folyd
c0586263eb Improve the user experience of offline doc path. Fix #105 2021-03-07 23:37:23 +08:00
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
99646e575c Update changelog for v1.2 2021-03-05 00:34:57 +08:00
Folyd
c44847596d Fallback enum variant srclink to the enum itself 2021-03-03 23:36:53 +08:00
Folyd
05291a5420 Eliminate tags for docs description 2021-03-03 23:25:57 +08:00
Folyd
74b0ab174f Render issue link with issue shortcode 2021-03-03 10:50:21 +08:00
Folyd
6d3bacba93 Eliminate unnecessary tags (such as <match>, <dim>) to save disk usage. 2021-02-28 23:44:27 +08:00
Folyd
92f377925e Put blog release request last to avoid reload error due to possibly request failed. E.g. Github Pages down. 2021-02-28 23:27:04 +08:00
Folyd
0146cac041 Improve the time granularity of stats 2021-02-28 23:22:16 +08:00
Folyd
308bd69a6f Add alias "s" to "src" mode 2021-02-25 00:08:01 +08:00
Folyd
b236d72b32 Extract INDEX_UPDATE_URL const 2021-02-24 10:51:42 +08:00
Folyd
983693615f Ignore the command history 2021-02-23 23:36:39 +08:00
Folyd
e84b7365e7 Docs.rs add source code navigate support 2021-02-22 22:41:00 +08:00
Folyd
3f1c47cd52 Polish command register codes 2021-02-22 21:50:51 +08:00
Folyd
a02268747f Change ReleaseCommand to an OpenCommand 2021-02-21 23:47:52 +08:00
Folyd
14e4857903 Support src: mode for Rust std docs search to open source code page. Fixes #103 2021-02-21 12:27:01 +08:00
Folyd
6373beaab5 Extract rust src navigate codes 2021-02-21 12:17:50 +08:00
Folyd
5ef7689ce0 Extract levenshtein() to algorithm.js 2021-02-21 11:32:49 +08:00
Folyd
0b34445940 Rust std docs support "src" mode for navigating to source code page 2021-02-21 00:23:32 +08:00
Folyd
4d71d6fbe2 Change UpdateCommand to an OpenCommand 2021-02-20 22:06:22 +08:00
Folyd
ea7dfc979c Change StatsCommand to an OpenCommand 2021-02-20 22:01:48 +08:00
Folyd
6afd26f5a8 Docs: remove static search mode support 2021-02-19 22:45:24 +08:00
Folyd
d50fa953bd Fix docs.rs/releases page search statistics bug 2021-02-19 22:34:47 +08:00
Folyd
6a711257fd Fix new const-since link compatibility 2021-02-14 14:37:39 +08:00
Folyd
bc7db05919 Fix invalid version cause undefine error 2021-02-14 14:27:00 +08:00
Folyd
ec3949669b Help command add more tips 2021-02-14 13:49:00 +08:00
Folyd
afe103af7e Update the latest index files 2021-02-14 10:50:27 +08:00
Folyd
364280cabe Add :blog command 2021-02-12 21:00:16 +08:00
Folyd
dc0e867913 Fix Rust v1.0.0 release date 2021-02-12 20:26:40 +08:00
Folyd
4cef5d7e98 Update submodule 2021-02-07 23:23:28 +08:00
Folyd
c4390d020c Improve attribute search experience 2021-02-07 14:21:24 +08:00
Folyd
faf38d269e Add Carbon ads in docs pages 2021-02-07 01:09:37 +08:00
Folyd
b16f59f304 Move common deploy docs script to core submodule 2021-02-06 23:40:55 +08:00
Folyd
57603c8a3a Add new testimonial 2021-02-04 00:15:26 +08:00
Folyd
dae67b58e4 Split three (! sigil) crate searches 2021-01-28 23:29:37 +08:00
Folyd
8c666bc7a2 Rename get rust version methods 2021-01-28 22:58:24 +08:00
Folyd
0230678dc8 Add validation when auto index std search-index. Fix #99 2021-01-28 18:30:55 +08:00
Folyd
21d9ef9f4c Add fallback search strategy for @crate search. Fix #96 2021-01-28 17:41:59 +08:00
Folyd
ca22e0e8bb Stats rust version search 2021-01-27 23:06:51 +08:00
Folyd
a18aeb59f0 :help command add Rust version search tips 2021-01-26 23:45:30 +08:00