diff --git a/docs/ansible.html b/docs/ansible.html index 7f39bde8..43dcf1c9 100644 --- a/docs/ansible.html +++ b/docs/ansible.html @@ -884,5 +884,5 @@
-
+
diff --git a/docs/apt.html b/docs/apt.html index 3b036faf..9499dcf6 100644 --- a/docs/apt.html +++ b/docs/apt.html @@ -140,5 +140,5 @@
-
+
diff --git a/docs/awk.html b/docs/awk.html index bfbf4564..ec29203d 100644 --- a/docs/awk.html +++ b/docs/awk.html @@ -942,5 +942,5 @@
-
+
diff --git a/docs/bash.html b/docs/bash.html index 6d8d5268..61a6ed05 100644 --- a/docs/bash.html +++ b/docs/bash.html @@ -1120,5 +1120,5 @@
-
+
diff --git a/docs/c.html b/docs/c.html index 34bfde26..b44c0ebb 100644 --- a/docs/c.html +++ b/docs/c.html @@ -1562,5 +1562,5 @@
-
+
diff --git a/docs/cargo.html b/docs/cargo.html index b5c955e7..42b86061 100644 --- a/docs/cargo.html +++ b/docs/cargo.html @@ -450,5 +450,5 @@
-
+
diff --git a/docs/chmod.html b/docs/chmod.html index e4fdc9e7..4c4dcc5e 100644 --- a/docs/chmod.html +++ b/docs/chmod.html @@ -629,5 +629,5 @@
-
+
diff --git a/docs/cmake.html b/docs/cmake.html index 123e7876..1b3c216b 100644 --- a/docs/cmake.html +++ b/docs/cmake.html @@ -141,5 +141,5 @@
-
+
diff --git a/docs/cmd.html b/docs/cmd.html index 857dd67f..264a49bb 100644 --- a/docs/cmd.html +++ b/docs/cmd.html @@ -800,5 +800,5 @@
-
+
diff --git a/docs/cocoapods.html b/docs/cocoapods.html index 500c0d4a..9119e71f 100644 --- a/docs/cocoapods.html +++ b/docs/cocoapods.html @@ -273,5 +273,5 @@
-
+
diff --git a/docs/colors-named.html b/docs/colors-named.html index b78ed7b5..0b87c165 100644 --- a/docs/colors-named.html +++ b/docs/colors-named.html @@ -2349,5 +2349,5 @@
-
+
diff --git a/docs/conan.html b/docs/conan.html index 5aff7e59..56bbca0e 100644 --- a/docs/conan.html +++ b/docs/conan.html @@ -168,5 +168,5 @@

查看 conan lock 参考

-
+
diff --git a/docs/cpp.html b/docs/cpp.html index dab19917..a04511d9 100644 --- a/docs/cpp.html +++ b/docs/cpp.html @@ -811,5 +811,5 @@
-
+
diff --git a/docs/cron.html b/docs/cron.html index fb590e53..4848b00f 100644 --- a/docs/cron.html +++ b/docs/cron.html @@ -271,5 +271,5 @@
-
+
diff --git a/docs/cs.html b/docs/cs.html index c8488a61..dd79f1bd 100644 --- a/docs/cs.html +++ b/docs/cs.html @@ -288,5 +288,5 @@
-
+
diff --git a/docs/css.html b/docs/css.html index 49d7c44c..78bc673c 100644 --- a/docs/css.html +++ b/docs/css.html @@ -1551,5 +1551,5 @@
-
+
diff --git a/docs/curl.html b/docs/curl.html index 86c192f4..0a2c7bc2 100644 --- a/docs/curl.html +++ b/docs/curl.html @@ -291,5 +291,5 @@
-
+
diff --git a/docs/dart.html b/docs/dart.html index 38f4c96b..c8df7097 100644 --- a/docs/dart.html +++ b/docs/dart.html @@ -590,5 +590,5 @@
-
+
diff --git a/docs/djiango.html b/docs/djiango.html index acebb766..ff17736b 100644 --- a/docs/djiango.html +++ b/docs/djiango.html @@ -979,5 +979,5 @@
-
+
diff --git a/docs/docker.html b/docs/docker.html index d23b8124..df28f369 100644 --- a/docs/docker.html +++ b/docs/docker.html @@ -1061,5 +1061,5 @@
-
+
diff --git a/docs/dockerfile.html b/docs/dockerfile.html index e752f6f6..b5dc7e90 100644 --- a/docs/dockerfile.html +++ b/docs/dockerfile.html @@ -279,5 +279,5 @@
-
+
diff --git a/docs/electron.html b/docs/electron.html index 5c3f12a9..970a9017 100644 --- a/docs/electron.html +++ b/docs/electron.html @@ -2000,5 +2000,5 @@
-
+
diff --git a/docs/emacs.html b/docs/emacs.html index a0cff2a4..d056e983 100644 --- a/docs/emacs.html +++ b/docs/emacs.html @@ -1473,5 +1473,5 @@
-
+
diff --git a/docs/emmet.html b/docs/emmet.html index d706001f..8dcb45a4 100644 --- a/docs/emmet.html +++ b/docs/emmet.html @@ -3681,5 +3681,5 @@ Alias of command

-
+
diff --git a/docs/emoji.html b/docs/emoji.html index 033e6103..48d1cf00 100644 --- a/docs/emoji.html +++ b/docs/emoji.html @@ -3482,5 +3482,5 @@
--
☀️:sunny:
:umbrella:
☁️:cloud:
❄️:snowflake:
:snowman:
:zap:
🌀:cyclone:
🌁:foggy:
🌊:ocean:
🐱:cat:
🐶:dog:
🐭:mouse:
🐹:hamster:
🐰:rabbit:
🐺:wolf:
🐸:frog:
🐯:tiger:
🐨:koala:
🐻:bear:
🐷:pig:
🐽:pig_nose:
🐮:cow:
🐗:boar:
🐵:monkey_face:
🐒:monkey:
🐴:horse:
🐎:racehorse:
🐫:camel:
🐑:sheep:
🐘:elephant:
🐼:panda_face:
🐍:snake:
🐦:bird:
🐤:baby_chick:
🐥:hatched_chick:
🐣:hatching_chick:
🐔:chicken:
🐧:penguin:
🐢:turtle:
🐛:bug:
🐝:honeybee:
🐜:ant:
🪲:beetle:
🐌:snail:
🐙:octopus:
🐠:tropical_fish:
🐟:fish:
🐳:whale:
🐋:whale2:
🐬:dolphin:
🐄:cow2:
🐏:ram:
🐀:rat:
🐃:water_buffalo:
🐅:tiger2:
🐇:rabbit2:
🐉:dragon:
🐐:goat:
🐓:rooster:
🐕:dog2:
🐖:pig2:
🐁:mouse2:
🐂:ox:
🐲:dragon_face:
🐡:blowfish:
🐊:crocodile:
🐪:dromedary_camel:
🐆:leopard:
🐈:cat2:
🐩:poodle:
🐾:paw_prints:
💐:bouquet:
🌸:cherry_blossom:
🌷:tulip:
🍀:four_leaf_clover:
🌹:rose:
🌻:sunflower:
🌺:hibiscus:
🍁:maple_leaf:
🍃:leaves:
🍂:fallen_leaf:
🌿:herb:
🍄:mushroom:
🌵:cactus:
🌴:palm_tree:
🌲:evergreen_tree:
🌳:deciduous_tree:
🌰:chestnut:
🌱:seedling:
🌼:blossom:
🌾:ear_of_rice:
🐚:shell:
🌐:globe_with_meridians:
🌞:sun_with_face:
🌝:full_moon_with_face:
🌚:new_moon_with_face:
🌑:new_moon:
🌒:waxing_crescent_moon:
🌓:first_quarter_moon:
🌔:waxing_gibbous_moon:
🌕:full_moon:
🌖:waning_gibbous_moon:
🌗:last_quarter_moon:
🌘:waning_crescent_moon:
🌜:last_quarter_moon_with_face:
🌛:first_quarter_moon_with_face:
🌙:crescent_moon:
🌍:earth_africa:
🌎:earth_americas:
🌏:earth_asia:
🌋:volcano:
🌌:milky_way:
:partly_sunny:
🥕:carrot:
-
+
diff --git a/docs/es6.html b/docs/es6.html index 66e3c3d7..9bb3b57e 100644 --- a/docs/es6.html +++ b/docs/es6.html @@ -552,5 +552,5 @@
-
+
diff --git a/docs/expressjs.html b/docs/expressjs.html index 6cb3f4e1..b56d5a74 100644 --- a/docs/expressjs.html +++ b/docs/expressjs.html @@ -672,5 +672,5 @@
-
+
diff --git a/docs/ffmpeg.html b/docs/ffmpeg.html index 6f43ee70..182c1aa6 100644 --- a/docs/ffmpeg.html +++ b/docs/ffmpeg.html @@ -685,5 +685,5 @@
-
+
diff --git a/docs/find.html b/docs/find.html index ea801ff3..21b98264 100644 --- a/docs/find.html +++ b/docs/find.html @@ -417,5 +417,5 @@
-
+
diff --git a/docs/flutter.html b/docs/flutter.html index 1b4164ac..6d490167 100644 --- a/docs/flutter.html +++ b/docs/flutter.html @@ -393,5 +393,5 @@
-
+
diff --git a/docs/git.html b/docs/git.html index 83eaeac1..21e1ecec 100644 --- a/docs/git.html +++ b/docs/git.html @@ -742,5 +742,5 @@
-
+
diff --git a/docs/github-actions.html b/docs/github-actions.html index f34f1582..3176db23 100644 --- a/docs/github-actions.html +++ b/docs/github-actions.html @@ -893,5 +893,5 @@
-
+
diff --git a/docs/gmail.html b/docs/gmail.html index a5b53794..d56fed45 100644 --- a/docs/gmail.html +++ b/docs/gmail.html @@ -425,5 +425,5 @@
-
+
diff --git a/docs/golang.html b/docs/golang.html index 7177d1d7..c265a15e 100644 --- a/docs/golang.html +++ b/docs/golang.html @@ -1001,5 +1001,5 @@
-
+
diff --git a/docs/graphql.html b/docs/graphql.html index 65dcddef..b824744c 100644 --- a/docs/graphql.html +++ b/docs/graphql.html @@ -641,5 +641,5 @@
-
+
diff --git a/docs/grep.html b/docs/grep.html index bae3bc76..fbcc16af 100644 --- a/docs/grep.html +++ b/docs/grep.html @@ -311,5 +311,5 @@
-
+
diff --git a/docs/homebrew.html b/docs/homebrew.html index 73d2fe3b..3e90b27a 100644 --- a/docs/homebrew.html +++ b/docs/homebrew.html @@ -257,5 +257,5 @@
-
+
diff --git a/docs/html-char.html b/docs/html-char.html index 0eaeb9c3..de6c2a26 100644 --- a/docs/html-char.html +++ b/docs/html-char.html @@ -2772,5 +2772,5 @@
-
+
diff --git a/docs/html.html b/docs/html.html index 593ea897..ab0d1f4b 100644 --- a/docs/html.html +++ b/docs/html.html @@ -1133,5 +1133,5 @@
-
+
diff --git a/docs/htop.html b/docs/htop.html index 73d554f3..9555f72a 100644 --- a/docs/htop.html +++ b/docs/htop.html @@ -307,5 +307,5 @@
-
+
diff --git a/docs/http-status-code.html b/docs/http-status-code.html index cf6bda3b..c6eb8e8b 100644 --- a/docs/http-status-code.html +++ b/docs/http-status-code.html @@ -254,5 +254,5 @@
-
+
diff --git a/docs/ini.html b/docs/ini.html index f751cb0f..17d98498 100644 --- a/docs/ini.html +++ b/docs/ini.html @@ -217,5 +217,5 @@
-
+
diff --git a/docs/iso-639-1.html b/docs/iso-639-1.html index 2cfadb02..c9d9f4f7 100644 --- a/docs/iso-639-1.html +++ b/docs/iso-639-1.html @@ -1248,5 +1248,5 @@
-
+
diff --git a/docs/java.html b/docs/java.html index f7ef163d..e9816f46 100644 --- a/docs/java.html +++ b/docs/java.html @@ -990,5 +990,5 @@
-
+
diff --git a/docs/javascript.html b/docs/javascript.html index 61ce76cd..1ceb326c 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1614,5 +1614,5 @@
-
+
diff --git a/docs/jest.html b/docs/jest.html index baec9f86..40f82ff2 100644 --- a/docs/jest.html +++ b/docs/jest.html @@ -726,5 +726,5 @@
-
+
diff --git a/docs/jq.html b/docs/jq.html index 119bbe84..b8c96764 100644 --- a/docs/jq.html +++ b/docs/jq.html @@ -256,5 +256,5 @@
-
+
diff --git a/docs/json.html b/docs/json.html index 63c33166..b2e155ae 100644 --- a/docs/json.html +++ b/docs/json.html @@ -461,5 +461,5 @@
-
+
diff --git a/docs/julia.html b/docs/julia.html index 196fa616..e059208c 100644 --- a/docs/julia.html +++ b/docs/julia.html @@ -918,5 +918,5 @@
-
+
diff --git a/docs/koajs.html b/docs/koajs.html index 6c44cf50..77f7d436 100644 --- a/docs/koajs.html +++ b/docs/koajs.html @@ -731,5 +731,5 @@

获取 response Content-Type,不包含像"charset"这样的参数

-
+
diff --git a/docs/kotlin.html b/docs/kotlin.html index e49dc16b..56f83c9f 100644 --- a/docs/kotlin.html +++ b/docs/kotlin.html @@ -574,5 +574,5 @@
-
+
diff --git a/docs/latex.html b/docs/latex.html index ab9e23f5..9fb92b9c 100644 --- a/docs/latex.html +++ b/docs/latex.html @@ -3825,5 +3825,5 @@ M0 50 h400000 v40H0z m0 194h40000v40H0z">
-
+
diff --git a/docs/lerna.html b/docs/lerna.html index de9a5a7b..9db1c819 100644 --- a/docs/lerna.html +++ b/docs/lerna.html @@ -883,5 +883,5 @@

lerna repair 在升级后最有用,可确保应用新版本 lerna 的任何配置文件更改

-
+
diff --git a/docs/lessjs.html b/docs/lessjs.html index 3bf263e2..31eb81b3 100644 --- a/docs/lessjs.html +++ b/docs/lessjs.html @@ -885,5 +885,5 @@
-
+
diff --git a/docs/lsof.html b/docs/lsof.html index e81f8686..99f38c76 100644 --- a/docs/lsof.html +++ b/docs/lsof.html @@ -378,5 +378,5 @@
-
+
diff --git a/docs/lua.html b/docs/lua.html index 16714db6..5949a214 100644 --- a/docs/lua.html +++ b/docs/lua.html @@ -806,5 +806,5 @@
-
+
diff --git a/docs/markdown.html b/docs/markdown.html index 7ed9a606..6be9a855 100644 --- a/docs/markdown.html +++ b/docs/markdown.html @@ -255,5 +255,5 @@
-
+
diff --git a/docs/matlab.html b/docs/matlab.html index 13495daa..8a7e7974 100644 --- a/docs/matlab.html +++ b/docs/matlab.html @@ -4204,5 +4204,5 @@
-
+
diff --git a/docs/mime.html b/docs/mime.html index d0722573..25fe1914 100644 --- a/docs/mime.html +++ b/docs/mime.html @@ -419,5 +419,5 @@
-
+
diff --git a/docs/mitmproxy.html b/docs/mitmproxy.html index 9979940b..12fcce8a 100644 --- a/docs/mitmproxy.html +++ b/docs/mitmproxy.html @@ -676,5 +676,5 @@
-
+
diff --git a/docs/mysql.html b/docs/mysql.html index 611945f4..2e37929c 100644 --- a/docs/mysql.html +++ b/docs/mysql.html @@ -622,5 +622,5 @@
-
+
diff --git a/docs/nestjs.html b/docs/nestjs.html index 9a595dac..410962a7 100644 --- a/docs/nestjs.html +++ b/docs/nestjs.html @@ -145,5 +145,5 @@

NestJs 官方文档

-
+
diff --git a/docs/netcat.html b/docs/netcat.html index 74fd9fd9..3f1914e0 100644 --- a/docs/netcat.html +++ b/docs/netcat.html @@ -206,5 +206,5 @@

反向 shell 通常用于绕过防火墙限制,例如阻止入站连接

-
+
diff --git a/docs/netstat.html b/docs/netstat.html index 0aa4e565..b3a7933f 100644 --- a/docs/netstat.html +++ b/docs/netstat.html @@ -306,5 +306,5 @@
-
+
diff --git a/docs/nginx.html b/docs/nginx.html index 7dba7035..12047c57 100644 --- a/docs/nginx.html +++ b/docs/nginx.html @@ -832,5 +832,5 @@
-
+
diff --git a/docs/npm.html b/docs/npm.html index 36f64743..04e24eb7 100644 --- a/docs/npm.html +++ b/docs/npm.html @@ -543,5 +543,5 @@
-
+
diff --git a/docs/openssl.html b/docs/openssl.html index 0692bcea..5f1929bf 100644 --- a/docs/openssl.html +++ b/docs/openssl.html @@ -768,5 +768,5 @@
-
+
diff --git a/docs/package.json.html b/docs/package.json.html index 1cf88dd0..bb82c436 100644 --- a/docs/package.json.html +++ b/docs/package.json.html @@ -574,5 +574,5 @@
-
+
diff --git a/docs/php.html b/docs/php.html index e995c62d..7d326d78 100644 --- a/docs/php.html +++ b/docs/php.html @@ -911,5 +911,5 @@
-
+
diff --git a/docs/postgres.html b/docs/postgres.html index 6c173b2d..c5c3e6ca 100644 --- a/docs/postgres.html +++ b/docs/postgres.html @@ -749,5 +749,5 @@
-
+
diff --git a/docs/python.html b/docs/python.html index f5d71e83..0cafec89 100644 --- a/docs/python.html +++ b/docs/python.html @@ -930,5 +930,5 @@
-
+
diff --git a/docs/pytorch.html b/docs/pytorch.html index ac93ba5f..2bda8a5e 100644 --- a/docs/pytorch.html +++ b/docs/pytorch.html @@ -219,5 +219,5 @@
-
+
diff --git a/docs/quickreference.html b/docs/quickreference.html index 74d76119..89f35ced 100644 --- a/docs/quickreference.html +++ b/docs/quickreference.html @@ -1049,5 +1049,5 @@ M834 80h400000v40h-400000z">
-
+
diff --git a/docs/react.html b/docs/react.html index 3c62af06..2d12e7fa 100644 --- a/docs/react.html +++ b/docs/react.html @@ -1527,5 +1527,5 @@
-
+
diff --git a/docs/regex.html b/docs/regex.html index 1145a1a0..9391d4db 100644 --- a/docs/regex.html +++ b/docs/regex.html @@ -2323,5 +2323,5 @@
-
+
diff --git a/docs/resolutions.html b/docs/resolutions.html index 4fb18e05..dd6a4660 100644 --- a/docs/resolutions.html +++ b/docs/resolutions.html @@ -2074,5 +2074,5 @@
-
+
diff --git a/docs/ruby.html b/docs/ruby.html index 8b2ebcd2..37c0c5f4 100644 --- a/docs/ruby.html +++ b/docs/ruby.html @@ -2510,5 +2510,5 @@
-
+
diff --git a/docs/rust.html b/docs/rust.html index def44669..08a4251b 100644 --- a/docs/rust.html +++ b/docs/rust.html @@ -1133,5 +1133,5 @@
-
+
diff --git a/docs/sass.html b/docs/sass.html index c067aafe..a8992733 100644 --- a/docs/sass.html +++ b/docs/sass.html @@ -515,5 +515,5 @@
-
+
diff --git a/docs/screen.html b/docs/screen.html index f90ce7ed..a8026f00 100644 --- a/docs/screen.html +++ b/docs/screen.html @@ -347,5 +347,5 @@
-
+
diff --git a/docs/sed.html b/docs/sed.html index 0f7a730a..a0155f7f 100644 --- a/docs/sed.html +++ b/docs/sed.html @@ -386,5 +386,5 @@
-
+
diff --git a/docs/semver.html b/docs/semver.html index 0dd9b950..09006817 100644 --- a/docs/semver.html +++ b/docs/semver.html @@ -296,5 +296,5 @@
-
+
diff --git a/docs/sketch.html b/docs/sketch.html index a5c54cac..ddbf263a 100644 --- a/docs/sketch.html +++ b/docs/sketch.html @@ -440,5 +440,5 @@
-
+
diff --git a/docs/ssh.html b/docs/ssh.html index dfb6e8ed..db09f9ce 100644 --- a/docs/ssh.html +++ b/docs/ssh.html @@ -252,5 +252,5 @@
-
+
diff --git a/docs/styled-components.html b/docs/styled-components.html index a692cdef..8af38ec1 100644 --- a/docs/styled-components.html +++ b/docs/styled-components.html @@ -955,5 +955,5 @@
-
+
diff --git a/docs/stylus.html b/docs/stylus.html index 5defbf2b..1413766a 100644 --- a/docs/stylus.html +++ b/docs/stylus.html @@ -388,5 +388,5 @@
-
+
diff --git a/docs/sublime-text.html b/docs/sublime-text.html index 96cd4d25..9685f51e 100644 --- a/docs/sublime-text.html +++ b/docs/sublime-text.html @@ -390,5 +390,5 @@
-
+
diff --git a/docs/swift.html b/docs/swift.html index f8d0176e..6e0b9829 100644 --- a/docs/swift.html +++ b/docs/swift.html @@ -1163,5 +1163,5 @@
-
+
diff --git a/docs/swiftui.html b/docs/swiftui.html index 1d7e171e..54adbc77 100644 --- a/docs/swiftui.html +++ b/docs/swiftui.html @@ -925,5 +925,5 @@
-
+
diff --git a/docs/sysdig.html b/docs/sysdig.html index d33f3eac..e1d61b2c 100644 --- a/docs/sysdig.html +++ b/docs/sysdig.html @@ -435,5 +435,5 @@
-
+
diff --git a/docs/systemd.html b/docs/systemd.html index 26cbdaf0..c3917f46 100644 --- a/docs/systemd.html +++ b/docs/systemd.html @@ -351,5 +351,5 @@
-
+
diff --git a/docs/tar.html b/docs/tar.html index 02b30acc..daf179e9 100644 --- a/docs/tar.html +++ b/docs/tar.html @@ -388,5 +388,5 @@

Linux Tar Commands Cheatsheet

-
+
diff --git a/docs/tmux.html b/docs/tmux.html index f94458f5..e5888f36 100644 --- a/docs/tmux.html +++ b/docs/tmux.html @@ -445,5 +445,5 @@
-
+
diff --git a/docs/toml.html b/docs/toml.html index c86f30b4..672a55a6 100644 --- a/docs/toml.html +++ b/docs/toml.html @@ -226,5 +226,5 @@
-
+
diff --git a/docs/typescript.html b/docs/typescript.html index f6ca2316..3c63ad0a 100644 --- a/docs/typescript.html +++ b/docs/typescript.html @@ -1680,5 +1680,5 @@
-
+
diff --git a/docs/vim.html b/docs/vim.html index c9efcb31..87105f92 100644 --- a/docs/vim.html +++ b/docs/vim.html @@ -1981,5 +1981,5 @@
-
+
diff --git a/docs/vscode.html b/docs/vscode.html index 6637aa71..9cf6f49d 100644 --- a/docs/vscode.html +++ b/docs/vscode.html @@ -640,5 +640,5 @@
-
+
diff --git a/docs/vue.html b/docs/vue.html index e4f14895..bf996495 100644 --- a/docs/vue.html +++ b/docs/vue.html @@ -1500,5 +1500,5 @@
-
+
diff --git a/docs/vue2.html b/docs/vue2.html index dc9074dc..4015124c 100644 --- a/docs/vue2.html +++ b/docs/vue2.html @@ -2202,5 +2202,5 @@
-
+
diff --git a/docs/webstorm.html b/docs/webstorm.html index f1811c0f..b4603e8e 100644 --- a/docs/webstorm.html +++ b/docs/webstorm.html @@ -644,5 +644,5 @@
-
+
diff --git a/docs/xcode.html b/docs/xcode.html index bab1c91a..8d6dc07a 100644 --- a/docs/xcode.html +++ b/docs/xcode.html @@ -311,5 +311,5 @@
-
+
diff --git a/docs/xpath.html b/docs/xpath.html index b188303f..d790f3d3 100644 --- a/docs/xpath.html +++ b/docs/xpath.html @@ -723,5 +723,5 @@
-
+
diff --git a/docs/yaml.html b/docs/yaml.html index 0040f393..66b75fec 100644 --- a/docs/yaml.html +++ b/docs/yaml.html @@ -625,5 +625,5 @@
-
+
diff --git a/docs/yarn.html b/docs/yarn.html index 5f916c58..cd6f8fba 100644 --- a/docs/yarn.html +++ b/docs/yarn.html @@ -198,5 +198,5 @@
-
+
diff --git a/docs/yum.html b/docs/yum.html index b0c20485..83f31bbf 100644 --- a/docs/yum.html +++ b/docs/yum.html @@ -334,5 +334,5 @@
-
+
diff --git a/index.html b/index.html index a29eeef8..bef301cd 100644 --- a/index.html +++ b/index.html @@ -692,7 +692,7 @@

如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 docker 快捷部署 web 版。

-
+
-
+
diff --git a/js/main.js b/js/main.js index 1edf795b..8d5b045c 100644 --- a/js/main.js +++ b/js/main.js @@ -71,22 +71,47 @@ searchInput.addEventListener('input', (evn) => searchResult(evn.target.value)); let activeMenu = {} let result = [] let inputValue = ''; +let activeIndex = 0 document.addEventListener('keydown', (ev) => { - console.log('ev::', ev) if (ev.metaKey && ev.key.toLocaleLowerCase() === 'k') { searchBox.classList.contains('show') ? hideSearch() : showSearch(); } if (ev.key.toLocaleLowerCase() === 'enter') { - console.log('activeMenu:', activeMenu) window.location.href = getDocUrl(activeMenu.path) } + if (ev.key.toLocaleLowerCase() === 'arrowdown') { + activeAnchorElm('down') + } + if (ev.key.toLocaleLowerCase() === 'arrowup') { + activeAnchorElm('up') + } }); +function activeAnchorElm(type) { + if (type === 'down') { + ++activeIndex; + } + if (type === 'up') { + --activeIndex; + } + const data = Array.from(searchMenu.children); + if (activeIndex < 0) activeIndex = 0; + if (activeIndex >= data.length) activeIndex = data.length - 1; + anchorElm = data[activeIndex]; + if (anchorElm) { + data.forEach(item => item.classList.remove('active')); + anchorElm.classList.add('active'); + activeMenu = result[activeIndex]; + activeIndex = activeIndex; + searchSectionsResult(activeIndex); + } +} + function showSearch() { document.body.classList.add('search'); searchBox.classList.add('show'); - searchResult('') + searchResult(searchInput.value || ''); searchInput.focus(); } @@ -107,13 +132,14 @@ function searchResult(value) { let menuHTML = ''; result.forEach((item, idx) => { const label = item.item.name.replace(getValueReg(value), (txt) => { - return `${txt}` + return `${txt}`; }) const tags = (item.item.tags || []).join(',').replace(getValueReg(value), (txt) => { - return `${txt}` + return `${txt}`; }) const href = isHome ? item.item.path : item.item.path.replace('docs/', ''); if (idx === 0) { + activeIndex = idx; activeMenu = item.item; menuHTML += `${label}${tags}`; } else { @@ -122,12 +148,13 @@ function searchResult(value) { }); searchMenu.innerHTML = menuHTML; searchSectionsResult(); - const data = Array.from(searchMenu.children) + const data = Array.from(searchMenu.children); data.forEach((anchor, idx) => { anchor.onmouseenter = (evn) => { data.forEach(item => item.classList.remove('active')); evn.target.classList.add('active'); activeMenu = result[idx]; + activeIndex = idx; searchSectionsResult(idx); } }); @@ -138,23 +165,19 @@ function searchResult(value) { } function searchSectionsResult(idx = 0) { const data = result[idx] || []; - const title = (data.item?.intro || '').replace(getValueReg(inputValue), (txt) => { - return `${txt}` - }); + const title = (data.item?.intro || '').replace(getValueReg(inputValue), (txt) => `${txt}`); let sectionHTML = `

${title}

    `; if (data && data.item && data.item.sections) { data.item.sections.forEach((item, idx) => { - const label = item.t.replace(getValueReg(inputValue), (txt) => { - return `${txt}` - }) + const label = item.t.replace(getValueReg(inputValue), (txt) => `${txt}`); const href = getDocUrl(data.item.path); if (item.l < 3) { - sectionHTML += `
  1. ${label}
    ` + sectionHTML += `
  2. ${label}
    `; } else { - sectionHTML += `${label}` + sectionHTML += `${label}`; } if (data.item.sections.length === idx + 1) { - sectionHTML += `
  3. ` + sectionHTML += ``; } }) }