Folyd
0897e4d240
Fix placement of dropdown-menu if macro is wide
...
See also https://github.com/lukaslueg/macro_railroad_ext/issues/13
2022-08-13 13:19:49 +08:00
Folyd
b03c609cc7
Invalid cached crate searcher after crate search index updated or removed
...
Fix https://github.com/huhu/rust-search-extension/issues/177#issuecomment-1212678086
2022-08-12 21:50:05 +08:00
Folyd
e1c5a32fcb
Update all search index
2022-08-11 23:34:23 +08:00
Folyd
6e335fdbb3
Don't load search index in non-rust doc pages
2022-08-11 23:12:14 +08:00
Folyd
7c741b01e5
Fix macro-railroad build
2022-08-11 21:40:04 +08:00
ZJPzjp
8006f324aa
add cargo-semver-check ( #187 )
2022-08-10 11:13:56 +08:00
Folyd
14e9d8ba62
Fix not update cargo command index bug
2022-08-09 23:43:20 +08:00
ZJPzjp
bdfbeee1c8
add more cargo plugins ( #184 )
...
Co-authored-by: Folyd <lyshuhow@gmail.com>
2022-08-09 23:04:42 +08:00
Alex
f11a48e155
add cargo-vet ( #185 )
2022-08-09 23:02:47 +08:00
Folyd
dd839f0a51
Pretty command cargo index
2022-08-09 21:33:45 +08:00
Folyd
3d030da2a4
Update :tool
command index
2022-08-09 21:27:22 +08:00
Folyd
c7738c36ee
Move images to assets folder
2022-08-08 22:25:32 +08:00
Folyd
b6ad08a182
Only load macro railroad wasm file in macro pages
2022-08-08 21:43:42 +08:00
Folyd
59c0cf9cc6
Move manage static files into extension directory
2022-08-07 22:15:17 +08:00
Folyd
102d2b3d06
Fix macro-railroad options text color
2022-08-07 21:45:55 +08:00
Folyd
82379417a5
Integrate macro_railroad_ext ( #183 )
...
* Integrate macro_railroad_ext
* Fix macro_railroad loading issue
* Remove diagram modal `display:none`
* Feat
* Ignore Cargo.lock file
2022-08-07 21:39:39 +08:00
Folyd
5f8a35ebe8
Prepare migrate to Manifest V3 ( #179 ), fixes #142
...
* Prepare migrate to Manifest V3
* Add `matches` declaration for `web_accessible_resources`
* Support both Manifest V2 and V3
* Only call migrate() when manifest is v2
2022-07-15 00:41:48 +08:00
BenMix
1d82b50426
Adjust margin of add to extension button ( #178 )
...
Co-authored-by: benmix <benmix@benmixdeMacBook-Pro.local>
2022-07-13 13:19:52 +08:00
Folyd
d937ad882b
Add one more book
2022-07-08 10:53:25 +08:00
Folyd
71bdaa776f
Support update :book/zh
index
2022-07-07 21:27:57 +08:00
ZJPzjp
e2c8f40962
add more links of books, especially in Chinese version ( #175 )
...
* add more links of books, especially in Chinese version
* Add `:book/zh` command
* mv Chinese version links in book to book/zh
Co-authored-by: Folyd <lyshuhow@gmail.com>
2022-07-07 21:24:51 +08:00
Folyd
04c7922e8e
Add :book/zh
command
2022-07-07 20:30:36 +08:00
Folyd
c49dd53644
Set default offlineDocPath to empty
2022-07-05 13:13:03 +08:00
Folyd
da193e6425
Support the new search-index loading, see https://github.com/rust-lang/rust/pull/98124
2022-07-04 15:31:53 +08:00
Folyd
2301f9aebd
Replace hasOwnProperty check with in
operator
2022-07-02 17:14:30 +08:00
Folyd
e21ceb2ff2
Replace 'crate:check' action with chrome.storage API query
2022-07-02 17:05:39 +08:00
Folyd
8c6c174157
Update README, format code
2022-06-06 10:50:52 +08:00
Folyd
3aa42c012e
Do not use async callback for onMessage
...
Fix error: "The message port closed before a response was received."
2022-06-06 00:14:02 +08:00
Folyd
df11a25f46
Move const into scope
2022-06-05 23:29:35 +08:00
Folyd
cc43ed86d8
Register :blog
command
2022-06-01 22:29:02 +08:00
Folyd
fb0516de00
Support update blog command posts index
2022-06-01 22:22:55 +08:00
Folyd
626668106b
Fix search base iterate issue ( #159 )
2022-05-31 22:48:08 +08:00
Folyd
fe816951cc
Fix rustdocVars nullable checking
2022-05-31 21:57:41 +08:00
Folyd
28f5727124
Migrate to ES6
2022-05-29 19:44:36 +08:00
Folyd
c1beb499ce
Feat some codes
2022-05-29 19:23:25 +08:00
Folyd
a493c9c5a7
Fix std docs search index update
2022-05-29 18:58:24 +08:00
Folyd
f0e60fe6df
Fix storage change keys
2022-05-29 18:37:54 +08:00
Folyd
7646f7b23f
Fix crate manager async/await function calling ( #158 )
2022-05-29 18:33:28 +08:00
Folyd
70ce097adb
Fix legacy rootPath getter doesn't allow async issue ( #157 )
2022-05-29 11:15:05 +08:00
Folyd
c2f92b7f94
Migrate localStorage to chrome storage API ( #155 )
...
* Add migrations.js
* Migrate crate manager to storage
* Add common js files to base template
* Migrate statistics, crates, index pages
* Don't re-migrate.
* Fix statistics and history storage
* Migrate all settings item to async getter and setter
* Migrate main.js to chrome.storage api
* Migrate settings, import/export pages to chrome.storage api
* Fix main.js
* Add comments to setttings.js
2022-05-29 10:58:42 +08:00
Folyd
244ef2f669
Fix eslint
2022-05-22 11:55:01 +08:00
Folyd
3bfc0bfe63
Don't reposition feature flag menu. Fixes #154
2022-05-21 19:11:59 +08:00
Folyd
0db05fe5ea
Add margin top to add to extension button
2022-05-13 11:42:04 +08:00
Folyd
f2ab2b03cb
Only render .top-doc
headings as TOC. Fixes #152
2022-04-20 23:12:35 +08:00
Folyd
b211b7d233
Fix docs.rs TOC max-width and padding
2022-04-20 22:35:46 +08:00
Folyd
cec5a0dc61
Update to latest search index
2022-02-26 10:19:47 +08:00
Folyd
494de24559
Bump std search-index to v1.59.0
2022-02-25 18:08:36 +08:00
Folyd
b386504ad5
Extract parseCrateVersionFromDOM function and change to proper css selector
2022-02-22 15:58:16 +08:00
Folyd
d841642cf4
Improve optional dependencies ui and parsing
2022-02-22 15:18:55 +08:00
Folyd
8b81fc70fb
Render optional. dependencies in feature flags menu.
2022-02-21 21:08:04 +08:00