diff --git a/.gitattributes b/.gitattributes index c2d860fc0f00..34dcd7c141e9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # Set default behaviour, in case users don't have core.autocrlf set. * text=auto - # Explicitly declare text files we want to always be normalized and converted # to native line endings on checkout. *.md text +*.json.br filter=lfs diff=lfs merge=lfs -text diff --git a/.husky/post-checkout b/.husky/post-checkout new file mode 100755 index 000000000000..cab40f264952 --- /dev/null +++ b/.husky/post-checkout @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.\n"; exit 2; } +git lfs post-checkout "$@" diff --git a/.husky/post-commit b/.husky/post-commit new file mode 100755 index 000000000000..9443f4161aca --- /dev/null +++ b/.husky/post-commit @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.\n"; exit 2; } +git lfs post-commit "$@" diff --git a/.husky/post-merge b/.husky/post-merge new file mode 100755 index 000000000000..828b70891edd --- /dev/null +++ b/.husky/post-merge @@ -0,0 +1,3 @@ +#!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.\n"; exit 2; } +git lfs post-merge "$@" diff --git a/.husky/pre-push b/.husky/pre-push index c3e157d88be1..ca76e5290221 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1,7 @@ #!/bin/sh +command -v git-lfs >/dev/null 2>&1 || { echo >&2 "\nThis repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.\n"; exit 2; } +git lfs pre-push "$@" + . "$(dirname "$0")/_/husky.sh" npm run prevent-pushes-to-main diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba27238c5c83..30332fa93b30 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,6 +23,8 @@ If you spot something new, open an issue using a [template](https://github.com/g ### Ready to make a change? Fork the repo +You'll want to [install Git LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/installing-git-large-file-storage). + Fork using GitHub Desktop: - [Getting started with GitHub Desktop](https://docs.github.com/en/desktop/installing-and-configuring-github-desktop/getting-started-with-github-desktop) will guide you through setting up Desktop. diff --git a/contributing/development.md b/contributing/development.md index 59b7a6408949..8bdc7af8c3a3 100644 --- a/contributing/development.md +++ b/contributing/development.md @@ -10,7 +10,9 @@ It runs on macOS, Windows, and Linux environments. You'll need Node.js version 16 to run the site. To install Node.js, [download the "LTS" installer from nodejs.org](https://nodejs.org). If you're using [`nodenv`](https://github.com/nodenv/nodenv), read the [`nodenv` docs](#nodenv) for instructions on switching Node.js versions. -Once you've installed Node.js (which includes the popular `npm` package manager), open Terminal and run the following: +You'll want to [install Git LFS](https://docs.github.com/en/github/managing-large-files/versioning-large-files/installing-git-large-file-storage). + +Once you've installed Node.js (which includes the popular `npm` package manager) and Git LFS, open Terminal and run the following: ```sh git clone https://github.com/github/docs diff --git a/lib/search/cached-index-names.json b/lib/search/cached-index-names.json index 88964bd7c106..46705b5d80d5 100644 --- a/lib/search/cached-index-names.json +++ b/lib/search/cached-index-names.json @@ -1,28 +1,7 @@ [ - "github-docs-2.17-cn", - "github-docs-2.17-de", - "github-docs-2.17-en", - "github-docs-2.17-es", - "github-docs-2.17-ja", - "github-docs-2.17-pt", - "github-docs-2.18-cn", - "github-docs-2.18-de", - "github-docs-2.18-en", - "github-docs-2.18-es", - "github-docs-2.18-ja", - "github-docs-2.18-pt", - "github-docs-2.19-cn", - "github-docs-2.19-de", - "github-docs-2.19-en", - "github-docs-2.19-es", - "github-docs-2.19-ja", - "github-docs-2.19-pt", "github-docs-2.20-cn", - "github-docs-2.20-de", "github-docs-2.20-en", - "github-docs-2.20-es", "github-docs-2.20-ja", - "github-docs-2.20-pt", "github-docs-2.21-cn", "github-docs-2.21-de", "github-docs-2.21-en", @@ -47,36 +26,6 @@ "github-docs-3.1-es", "github-docs-3.1-ja", "github-docs-3.1-pt", - "github-docs-custom-rankings-2.18-cn", - "github-docs-custom-rankings-2.18-de", - "github-docs-custom-rankings-2.18-en", - "github-docs-custom-rankings-2.18-es", - "github-docs-custom-rankings-2.18-ja", - "github-docs-custom-rankings-2.18-pt", - "github-docs-custom-rankings-2.19-cn", - "github-docs-custom-rankings-2.19-de", - "github-docs-custom-rankings-2.19-en", - "github-docs-custom-rankings-2.19-es", - "github-docs-custom-rankings-2.19-ja", - "github-docs-custom-rankings-2.19-pt", - "github-docs-custom-rankings-2.20-cn", - "github-docs-custom-rankings-2.20-de", - "github-docs-custom-rankings-2.20-en", - "github-docs-custom-rankings-2.20-es", - "github-docs-custom-rankings-2.20-ja", - "github-docs-custom-rankings-2.20-pt", - "github-docs-custom-rankings-2.21-cn", - "github-docs-custom-rankings-2.21-de", - "github-docs-custom-rankings-2.21-en", - "github-docs-custom-rankings-2.21-es", - "github-docs-custom-rankings-2.21-ja", - "github-docs-custom-rankings-2.21-pt", - "github-docs-custom-rankings-dotcom-cn", - "github-docs-custom-rankings-dotcom-de", - "github-docs-custom-rankings-dotcom-en", - "github-docs-custom-rankings-dotcom-es", - "github-docs-custom-rankings-dotcom-ja", - "github-docs-custom-rankings-dotcom-pt", "github-docs-dotcom-cn", "github-docs-dotcom-de", "github-docs-dotcom-en", diff --git a/lib/search/indexes/github-docs-2.20-cn-records.json.br b/lib/search/indexes/github-docs-2.20-cn-records.json.br index 702854e1459a..ad34cb0cf420 100644 Binary files a/lib/search/indexes/github-docs-2.20-cn-records.json.br and b/lib/search/indexes/github-docs-2.20-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.20-cn.json.br b/lib/search/indexes/github-docs-2.20-cn.json.br index f578b5644aef..60024523cdf5 100644 Binary files a/lib/search/indexes/github-docs-2.20-cn.json.br and b/lib/search/indexes/github-docs-2.20-cn.json.br differ diff --git a/lib/search/indexes/github-docs-2.20-en-records.json.br b/lib/search/indexes/github-docs-2.20-en-records.json.br index 81f6a7c6e01e..adc13c0eca29 100644 Binary files a/lib/search/indexes/github-docs-2.20-en-records.json.br and b/lib/search/indexes/github-docs-2.20-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.20-en.json.br b/lib/search/indexes/github-docs-2.20-en.json.br index 240a0e852a83..cd105df0c1e8 100644 Binary files a/lib/search/indexes/github-docs-2.20-en.json.br and b/lib/search/indexes/github-docs-2.20-en.json.br differ diff --git a/lib/search/indexes/github-docs-2.20-ja-records.json.br b/lib/search/indexes/github-docs-2.20-ja-records.json.br index d4fc62c072f0..9bf29af121fb 100644 Binary files a/lib/search/indexes/github-docs-2.20-ja-records.json.br and b/lib/search/indexes/github-docs-2.20-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.20-ja.json.br b/lib/search/indexes/github-docs-2.20-ja.json.br index 46a0ea9c9e99..45d17e8c0d0f 100644 Binary files a/lib/search/indexes/github-docs-2.20-ja.json.br and b/lib/search/indexes/github-docs-2.20-ja.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-cn-records.json.br b/lib/search/indexes/github-docs-2.21-cn-records.json.br index 443e5ce6f3d4..e331ac281c1c 100644 Binary files a/lib/search/indexes/github-docs-2.21-cn-records.json.br and b/lib/search/indexes/github-docs-2.21-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-cn.json.br b/lib/search/indexes/github-docs-2.21-cn.json.br index b7e424656f75..4b4704f1dddf 100644 Binary files a/lib/search/indexes/github-docs-2.21-cn.json.br and b/lib/search/indexes/github-docs-2.21-cn.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-de-records.json.br b/lib/search/indexes/github-docs-2.21-de-records.json.br new file mode 100644 index 000000000000..1f6639af27d7 --- /dev/null +++ b/lib/search/indexes/github-docs-2.21-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73b55743a2940587e669cce04e2e3ed1857de9651b2220be1b66c73249f6da89 +size 430858 diff --git a/lib/search/indexes/github-docs-2.21-de.json.br b/lib/search/indexes/github-docs-2.21-de.json.br new file mode 100644 index 000000000000..f4651a38a031 --- /dev/null +++ b/lib/search/indexes/github-docs-2.21-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d46001582f77ca2d27986fd52907c6a765f9e1f2dc5face11b09d3cea8910b6 +size 1929073 diff --git a/lib/search/indexes/github-docs-2.21-en-records.json.br b/lib/search/indexes/github-docs-2.21-en-records.json.br index 97b48ce4b654..b18671a8497b 100644 Binary files a/lib/search/indexes/github-docs-2.21-en-records.json.br and b/lib/search/indexes/github-docs-2.21-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-en.json.br b/lib/search/indexes/github-docs-2.21-en.json.br index 9a379ab14fda..20a2c3358393 100644 Binary files a/lib/search/indexes/github-docs-2.21-en.json.br and b/lib/search/indexes/github-docs-2.21-en.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-es-records.json.br b/lib/search/indexes/github-docs-2.21-es-records.json.br index 2c71aab8b133..275c93048c90 100644 Binary files a/lib/search/indexes/github-docs-2.21-es-records.json.br and b/lib/search/indexes/github-docs-2.21-es-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-es.json.br b/lib/search/indexes/github-docs-2.21-es.json.br index 9ff15cc32cf5..ffcb0a8c4331 100644 Binary files a/lib/search/indexes/github-docs-2.21-es.json.br and b/lib/search/indexes/github-docs-2.21-es.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-ja-records.json.br b/lib/search/indexes/github-docs-2.21-ja-records.json.br index 2679fd7b83ee..aaab84dca2a7 100644 Binary files a/lib/search/indexes/github-docs-2.21-ja-records.json.br and b/lib/search/indexes/github-docs-2.21-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-ja.json.br b/lib/search/indexes/github-docs-2.21-ja.json.br index 99c5b39639be..52fe21084d44 100644 Binary files a/lib/search/indexes/github-docs-2.21-ja.json.br and b/lib/search/indexes/github-docs-2.21-ja.json.br differ diff --git a/lib/search/indexes/github-docs-2.21-pt-records.json.br b/lib/search/indexes/github-docs-2.21-pt-records.json.br new file mode 100644 index 000000000000..06eb090026f5 --- /dev/null +++ b/lib/search/indexes/github-docs-2.21-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81ed912d45627240be98b392afbfa7ce7d9e01fc251214974d7ece51fff68080 +size 410908 diff --git a/lib/search/indexes/github-docs-2.21-pt.json.br b/lib/search/indexes/github-docs-2.21-pt.json.br new file mode 100644 index 000000000000..de6daa7ee417 --- /dev/null +++ b/lib/search/indexes/github-docs-2.21-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:14cc31ad7051a742275a65f53f0d12ecb1556a77c0e449040ed4218c846b4c58 +size 1759084 diff --git a/lib/search/indexes/github-docs-2.22-cn-records.json.br b/lib/search/indexes/github-docs-2.22-cn-records.json.br index 426a35b94b77..8f0af87455a6 100644 Binary files a/lib/search/indexes/github-docs-2.22-cn-records.json.br and b/lib/search/indexes/github-docs-2.22-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-cn.json.br b/lib/search/indexes/github-docs-2.22-cn.json.br index 9ad7a777bc9a..92fd0adf081b 100644 Binary files a/lib/search/indexes/github-docs-2.22-cn.json.br and b/lib/search/indexes/github-docs-2.22-cn.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-de-records.json.br b/lib/search/indexes/github-docs-2.22-de-records.json.br new file mode 100644 index 000000000000..d3dc2cee05c3 --- /dev/null +++ b/lib/search/indexes/github-docs-2.22-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7adbf7aec1315045d30d22e5716d9f600f37dfad24188fba0306e9a65259b3e5 +size 529258 diff --git a/lib/search/indexes/github-docs-2.22-de.json.br b/lib/search/indexes/github-docs-2.22-de.json.br new file mode 100644 index 000000000000..a15b0f5b7fe6 --- /dev/null +++ b/lib/search/indexes/github-docs-2.22-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ef5fb7690c26f83682eb08e9eefa2c57a59556adf651625a6506dd35fd85256 +size 2434837 diff --git a/lib/search/indexes/github-docs-2.22-en-records.json.br b/lib/search/indexes/github-docs-2.22-en-records.json.br index 264a058595a2..f58584ae28a5 100644 Binary files a/lib/search/indexes/github-docs-2.22-en-records.json.br and b/lib/search/indexes/github-docs-2.22-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-en.json.br b/lib/search/indexes/github-docs-2.22-en.json.br index a64a406ef0f3..4361528a23a4 100644 Binary files a/lib/search/indexes/github-docs-2.22-en.json.br and b/lib/search/indexes/github-docs-2.22-en.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-es-records.json.br b/lib/search/indexes/github-docs-2.22-es-records.json.br index 313a3d7045e1..fd87e203ee30 100644 Binary files a/lib/search/indexes/github-docs-2.22-es-records.json.br and b/lib/search/indexes/github-docs-2.22-es-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-es.json.br b/lib/search/indexes/github-docs-2.22-es.json.br index 3a1f42cdfafe..e60db097a779 100644 Binary files a/lib/search/indexes/github-docs-2.22-es.json.br and b/lib/search/indexes/github-docs-2.22-es.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-ja-records.json.br b/lib/search/indexes/github-docs-2.22-ja-records.json.br index d7dc86a12504..b0851dfcf7a2 100644 Binary files a/lib/search/indexes/github-docs-2.22-ja-records.json.br and b/lib/search/indexes/github-docs-2.22-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-ja.json.br b/lib/search/indexes/github-docs-2.22-ja.json.br index dd821b5c5c2c..a0f9b4ad9c55 100644 Binary files a/lib/search/indexes/github-docs-2.22-ja.json.br and b/lib/search/indexes/github-docs-2.22-ja.json.br differ diff --git a/lib/search/indexes/github-docs-2.22-pt-records.json.br b/lib/search/indexes/github-docs-2.22-pt-records.json.br new file mode 100644 index 000000000000..a0973590ebc3 --- /dev/null +++ b/lib/search/indexes/github-docs-2.22-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9511f09ef860f31da34612a7df48a4fed0cae6e1af59ab7ad2001d75ee08f5f1 +size 504140 diff --git a/lib/search/indexes/github-docs-2.22-pt.json.br b/lib/search/indexes/github-docs-2.22-pt.json.br new file mode 100644 index 000000000000..a639852bb651 --- /dev/null +++ b/lib/search/indexes/github-docs-2.22-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d859df9db5aa053f32f4a622860c59a8bfc954ddaaf3eca71ac0162c33421154 +size 2191945 diff --git a/lib/search/indexes/github-docs-3.0-cn-records.json.br b/lib/search/indexes/github-docs-3.0-cn-records.json.br index f4226c231aa5..eb9383db985f 100644 Binary files a/lib/search/indexes/github-docs-3.0-cn-records.json.br and b/lib/search/indexes/github-docs-3.0-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-cn.json.br b/lib/search/indexes/github-docs-3.0-cn.json.br index e806f8fad15a..475ff4904441 100644 Binary files a/lib/search/indexes/github-docs-3.0-cn.json.br and b/lib/search/indexes/github-docs-3.0-cn.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-de-records.json.br b/lib/search/indexes/github-docs-3.0-de-records.json.br new file mode 100644 index 000000000000..7bd55613eb04 --- /dev/null +++ b/lib/search/indexes/github-docs-3.0-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b0f8aa93c2957341a14f8932118ea0e6211ae58f547b2be3b13b13bc34f8aca4 +size 551428 diff --git a/lib/search/indexes/github-docs-3.0-de.json.br b/lib/search/indexes/github-docs-3.0-de.json.br new file mode 100644 index 000000000000..ae65c7e4e103 --- /dev/null +++ b/lib/search/indexes/github-docs-3.0-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4667211ebb1d32a6c6cd04dd722cab752b56eecf22a82e1c3b9428b9b3158632 +size 2543659 diff --git a/lib/search/indexes/github-docs-3.0-en-records.json.br b/lib/search/indexes/github-docs-3.0-en-records.json.br index c334cc751c7d..59ebecc057e9 100644 Binary files a/lib/search/indexes/github-docs-3.0-en-records.json.br and b/lib/search/indexes/github-docs-3.0-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-en.json.br b/lib/search/indexes/github-docs-3.0-en.json.br index 6fd4b0bf9967..5a47e064b332 100644 Binary files a/lib/search/indexes/github-docs-3.0-en.json.br and b/lib/search/indexes/github-docs-3.0-en.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-es-records.json.br b/lib/search/indexes/github-docs-3.0-es-records.json.br index d4fc39d195c2..4b58158c87d6 100644 Binary files a/lib/search/indexes/github-docs-3.0-es-records.json.br and b/lib/search/indexes/github-docs-3.0-es-records.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-es.json.br b/lib/search/indexes/github-docs-3.0-es.json.br index 32b7af5d63ae..63cd826137b4 100644 Binary files a/lib/search/indexes/github-docs-3.0-es.json.br and b/lib/search/indexes/github-docs-3.0-es.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-ja-records.json.br b/lib/search/indexes/github-docs-3.0-ja-records.json.br index 6bc55774320b..04d5b4b64a16 100644 Binary files a/lib/search/indexes/github-docs-3.0-ja-records.json.br and b/lib/search/indexes/github-docs-3.0-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-ja.json.br b/lib/search/indexes/github-docs-3.0-ja.json.br index a51d6fc4e9b3..df97c97b3a7b 100644 Binary files a/lib/search/indexes/github-docs-3.0-ja.json.br and b/lib/search/indexes/github-docs-3.0-ja.json.br differ diff --git a/lib/search/indexes/github-docs-3.0-pt-records.json.br b/lib/search/indexes/github-docs-3.0-pt-records.json.br new file mode 100644 index 000000000000..7bbbd359f010 --- /dev/null +++ b/lib/search/indexes/github-docs-3.0-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bba9b6174734a3bd4d81dc181862f2ca904ac66d0397d07df5fdb26c7ba474a9 +size 526917 diff --git a/lib/search/indexes/github-docs-3.0-pt.json.br b/lib/search/indexes/github-docs-3.0-pt.json.br new file mode 100644 index 000000000000..96f26e235680 --- /dev/null +++ b/lib/search/indexes/github-docs-3.0-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae17af5b47275cfe4db5c379c2043e143cd0a3be7e2887007d42558c1a43f0f7 +size 2284397 diff --git a/lib/search/indexes/github-docs-3.1-cn-records.json.br b/lib/search/indexes/github-docs-3.1-cn-records.json.br new file mode 100644 index 000000000000..ecd43ed1e18d --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-cn-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba020ea211f66b318d3e2b14368f0c6707ee7c1df29159ba519f5ed61a386463 +size 595686 diff --git a/lib/search/indexes/github-docs-3.1-cn.json.br b/lib/search/indexes/github-docs-3.1-cn.json.br new file mode 100644 index 000000000000..430186056870 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-cn.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d1364dd2e5eb70bdcae5ee027dff1d42b3ae882588e9ccaa7ea838c7311f117 +size 1109848 diff --git a/lib/search/indexes/github-docs-3.1-de-records.json.br b/lib/search/indexes/github-docs-3.1-de-records.json.br new file mode 100644 index 000000000000..166b54cb548e --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbb4fa11028b98f7721a752b41c6a911bc022d7e83c7388011f9a312ca444b8b +size 558953 diff --git a/lib/search/indexes/github-docs-3.1-de.json.br b/lib/search/indexes/github-docs-3.1-de.json.br new file mode 100644 index 000000000000..9eb03f4b5d80 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a8288e5414f00e1fb7abba7790ff75af386160b0a573ec0de545f49791c42d0d +size 2594622 diff --git a/lib/search/indexes/github-docs-3.1-en-records.json.br b/lib/search/indexes/github-docs-3.1-en-records.json.br new file mode 100644 index 000000000000..ab6715b6e5df --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-en-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6233fe8021b895caa05fc54ad30c36f32589f927afba8a8ee1db694f36febeed +size 775856 diff --git a/lib/search/indexes/github-docs-3.1-en.json.br b/lib/search/indexes/github-docs-3.1-en.json.br new file mode 100644 index 000000000000..20f30c8905ec --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-en.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:607138c4479bbbd92a45643a0981feda313335107973b373f7ee652430487910 +size 3806754 diff --git a/lib/search/indexes/github-docs-3.1-es-records.json.br b/lib/search/indexes/github-docs-3.1-es-records.json.br new file mode 100644 index 000000000000..5e0b07305d65 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-es-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0481a44a636adfae94ebc53c10b81d771577baf953df16a7489e13c8c9465c5f +size 339857 diff --git a/lib/search/indexes/github-docs-3.1-es.json.br b/lib/search/indexes/github-docs-3.1-es.json.br new file mode 100644 index 000000000000..19754da417a9 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-es.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3666694921a7f96ef9a7db7b90a4d2a68b64f927f19380a8af487380b28f4571 +size 1385067 diff --git a/lib/search/indexes/github-docs-3.1-ja-records.json.br b/lib/search/indexes/github-docs-3.1-ja-records.json.br new file mode 100644 index 000000000000..f6b0a536fe77 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-ja-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6011c94b01d601308a112b4182da6ff92bc7854d8a40fc3543ba027f925a2d8c +size 622311 diff --git a/lib/search/indexes/github-docs-3.1-ja.json.br b/lib/search/indexes/github-docs-3.1-ja.json.br new file mode 100644 index 000000000000..d895654bc2f6 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-ja.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75a2bff493b6d904eb8c5b9c6a5cf008c66440be27ffd426074d75154fceb7db +size 3472368 diff --git a/lib/search/indexes/github-docs-3.1-pt-records.json.br b/lib/search/indexes/github-docs-3.1-pt-records.json.br new file mode 100644 index 000000000000..a9d327bedc6d --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63df71e7bd3c87338d81b6334cd923d1740312bf488ae0035c2df48d20cd0fe0 +size 535822 diff --git a/lib/search/indexes/github-docs-3.1-pt.json.br b/lib/search/indexes/github-docs-3.1-pt.json.br new file mode 100644 index 000000000000..59ecfa258025 --- /dev/null +++ b/lib/search/indexes/github-docs-3.1-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ca8cc1f1115d23b5f27c3d9b27d6f5058f6efb8bf280845e84c19791f59867e +size 2329678 diff --git a/lib/search/indexes/github-docs-dotcom-cn-records.json.br b/lib/search/indexes/github-docs-dotcom-cn-records.json.br index e765eeca189b..262fd0e42ca5 100644 Binary files a/lib/search/indexes/github-docs-dotcom-cn-records.json.br and b/lib/search/indexes/github-docs-dotcom-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-cn.json.br b/lib/search/indexes/github-docs-dotcom-cn.json.br index 97b801b09bc7..d6a234639981 100644 Binary files a/lib/search/indexes/github-docs-dotcom-cn.json.br and b/lib/search/indexes/github-docs-dotcom-cn.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-de-records.json.br b/lib/search/indexes/github-docs-dotcom-de-records.json.br new file mode 100644 index 000000000000..71f47ae0e441 --- /dev/null +++ b/lib/search/indexes/github-docs-dotcom-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41721b2405fdb345ba1940cffb4f4854572a9556afe3b3c946a6d6e8f0d3f061 +size 714818 diff --git a/lib/search/indexes/github-docs-dotcom-de.json.br b/lib/search/indexes/github-docs-dotcom-de.json.br new file mode 100644 index 000000000000..5aee8ef4e0b9 --- /dev/null +++ b/lib/search/indexes/github-docs-dotcom-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2bfc54b08550222eba7af30846a0146ae5c6f74842b33e7e4dede021be7c207 +size 3302158 diff --git a/lib/search/indexes/github-docs-dotcom-en-records.json.br b/lib/search/indexes/github-docs-dotcom-en-records.json.br index 3a0f7038a051..b0b0564393fa 100644 Binary files a/lib/search/indexes/github-docs-dotcom-en-records.json.br and b/lib/search/indexes/github-docs-dotcom-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-en.json.br b/lib/search/indexes/github-docs-dotcom-en.json.br index 16b64d3304cb..6a6f5dc560f9 100644 Binary files a/lib/search/indexes/github-docs-dotcom-en.json.br and b/lib/search/indexes/github-docs-dotcom-en.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-es-records.json.br b/lib/search/indexes/github-docs-dotcom-es-records.json.br index c36c64045c6f..02b4dd11c1dd 100644 Binary files a/lib/search/indexes/github-docs-dotcom-es-records.json.br and b/lib/search/indexes/github-docs-dotcom-es-records.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-es.json.br b/lib/search/indexes/github-docs-dotcom-es.json.br index 84ed1508ce6e..3ab001494b23 100644 Binary files a/lib/search/indexes/github-docs-dotcom-es.json.br and b/lib/search/indexes/github-docs-dotcom-es.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-ja-records.json.br b/lib/search/indexes/github-docs-dotcom-ja-records.json.br index 9897ba2d10fd..a17deb6ff2d6 100644 Binary files a/lib/search/indexes/github-docs-dotcom-ja-records.json.br and b/lib/search/indexes/github-docs-dotcom-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-ja.json.br b/lib/search/indexes/github-docs-dotcom-ja.json.br index cfa19999527f..73993132de83 100644 Binary files a/lib/search/indexes/github-docs-dotcom-ja.json.br and b/lib/search/indexes/github-docs-dotcom-ja.json.br differ diff --git a/lib/search/indexes/github-docs-dotcom-pt-records.json.br b/lib/search/indexes/github-docs-dotcom-pt-records.json.br new file mode 100644 index 000000000000..e71ba0d52087 --- /dev/null +++ b/lib/search/indexes/github-docs-dotcom-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4787ac2709036c2304cd4bf4bc115f4a96db2e54f754b819b5849585297b6f2f +size 690413 diff --git a/lib/search/indexes/github-docs-dotcom-pt.json.br b/lib/search/indexes/github-docs-dotcom-pt.json.br new file mode 100644 index 000000000000..e8399a083d6a --- /dev/null +++ b/lib/search/indexes/github-docs-dotcom-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:510104746e56d3df7540e1842d18bf2646008612e2bfc5deb7f501106fa0ccdb +size 2942521 diff --git a/lib/search/indexes/github-docs-ghae-cn-records.json.br b/lib/search/indexes/github-docs-ghae-cn-records.json.br index b0a1d0b38385..73d51bf6e80b 100644 Binary files a/lib/search/indexes/github-docs-ghae-cn-records.json.br and b/lib/search/indexes/github-docs-ghae-cn-records.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-cn.json.br b/lib/search/indexes/github-docs-ghae-cn.json.br index b05db313d32b..3bd23d48ff66 100644 Binary files a/lib/search/indexes/github-docs-ghae-cn.json.br and b/lib/search/indexes/github-docs-ghae-cn.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-de-records.json.br b/lib/search/indexes/github-docs-ghae-de-records.json.br new file mode 100644 index 000000000000..996fc2ee5345 --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-de-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b87621568ee2b8a892474b855e347a675f289da3760b92c87269bd48efdd477f +size 442796 diff --git a/lib/search/indexes/github-docs-ghae-de.json.br b/lib/search/indexes/github-docs-ghae-de.json.br new file mode 100644 index 000000000000..1935c46bdc64 --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-de.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:863874dd302bead37f8114ee5bb0bc4127b0c11d93c47952a768a34621213bac +size 2010669 diff --git a/lib/search/indexes/github-docs-ghae-en-records.json.br b/lib/search/indexes/github-docs-ghae-en-records.json.br index 07764c50f6e0..51eac2c8a202 100644 Binary files a/lib/search/indexes/github-docs-ghae-en-records.json.br and b/lib/search/indexes/github-docs-ghae-en-records.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-en.json.br b/lib/search/indexes/github-docs-ghae-en.json.br index 102150b927f5..cc6510463546 100644 Binary files a/lib/search/indexes/github-docs-ghae-en.json.br and b/lib/search/indexes/github-docs-ghae-en.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-es-records.json.br b/lib/search/indexes/github-docs-ghae-es-records.json.br new file mode 100644 index 000000000000..232ae5562da3 --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-es-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9bac6f249c1ab5aafe3deb1aa1967886cadd3ba29df92b2631985ab6a1e1e1c +size 252550 diff --git a/lib/search/indexes/github-docs-ghae-es.json.br b/lib/search/indexes/github-docs-ghae-es.json.br new file mode 100644 index 000000000000..9d443ff143bc --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-es.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6369c612b21bbe8a776725b5b6a2d6111f826ada6962c700c5adf1dbd6062ac9 +size 1000350 diff --git a/lib/search/indexes/github-docs-ghae-ja-records.json.br b/lib/search/indexes/github-docs-ghae-ja-records.json.br index 85757d440db7..086b670384cd 100644 Binary files a/lib/search/indexes/github-docs-ghae-ja-records.json.br and b/lib/search/indexes/github-docs-ghae-ja-records.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-ja.json.br b/lib/search/indexes/github-docs-ghae-ja.json.br index 919b188bc7ef..da3ab6473b9f 100644 Binary files a/lib/search/indexes/github-docs-ghae-ja.json.br and b/lib/search/indexes/github-docs-ghae-ja.json.br differ diff --git a/lib/search/indexes/github-docs-ghae-pt-records.json.br b/lib/search/indexes/github-docs-ghae-pt-records.json.br new file mode 100644 index 000000000000..33511137678d --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-pt-records.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abf0b3454c1cc9c963ccca7b72bc554fb5ddcf88618a4a533532a3485ee26a41 +size 424356 diff --git a/lib/search/indexes/github-docs-ghae-pt.json.br b/lib/search/indexes/github-docs-ghae-pt.json.br new file mode 100644 index 000000000000..7bcaab6c5bf4 --- /dev/null +++ b/lib/search/indexes/github-docs-ghae-pt.json.br @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:181b3eba0bd68d8e4deaf31e790ecc8173f161b523f3acd383904ed28b3c281f +size 1798360 diff --git a/script/search/lunr-get-index-names.js b/script/search/lunr-get-index-names.js index 89456f73282a..7174cc337d93 100644 --- a/script/search/lunr-get-index-names.js +++ b/script/search/lunr-get-index-names.js @@ -6,5 +6,9 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url)) const fs = xFs.promises export default async function getIndexNames() { - return await fs.readdir(path.join(__dirname, '../../lib/search/indexes')) + const indexList = await fs.readdir(path.join(__dirname, '../../lib/search/indexes')) + return indexList + .sort() + .filter((index) => !index.includes('records')) + .map((index) => index.replace('.json.br', '')) }