19 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 11959d6a18 refac 2026-10-25 16:17:46 +09:00
Classic298 8c230c4574 Fail the build on broken anchors and relative links on index pages
Relative links on index pages broke whenever the page was opened without a trailing slash, and broken anchors only produced a warning, so both could reach the live site unnoticed. The build now runs a check that rejects relative links on index pages and fails on broken anchors and duplicate routes, on pull requests and on every deploy. The remaining relative links on the Deployment and security index pages are converted to full paths.
2026-10-05 15:57:46 +02:00
Classic298 50f231d400 Replace lunr search with local search and exact-phrase ranking
Swap docusaurus-lunr-search for @easyops-cn/docusaurus-search-local. All
query words are now required to match instead of being OR-ed, so a page
spamming one common word no longer outranks the page containing the whole
query. Underscore-joined names like CONTEXT_COMPACTION_TOKEN_CAP are
indexed both whole and as sub-words, matched terms are highlighted on the
target page, and a full results page is available at /search.

Add an exact-match layer on top (src/client/exactSearch.js, wired via
webpack module replacement). Multi-word or quoted queries that occur
verbatim on a page always rank first, rendered as a single marked phrase
with a section-anchor deep link, with token-based results following. A
SearchBar wrapper (src/theme/SearchBar) highlights exactly the searched
sentence on the target page and scrolls it into view, replacing the
per-word highlight parameters for these results.

Also mention the Builtin Tools capability name on the tools page so the
in-product term is findable by search.
2026-07-12 13:57:34 +02:00
Timothy Jaeryang Baek af89fa4ecd refac 2026-07-06 19:50:54 -05:00
Timothy Jaeryang Baek 5c51ae3201 refac 2026-07-02 16:06:24 -05:00
Timothy Jaeryang Baek 5b5d81b2b7 refac 2026-07-02 15:36:26 -05:00
Timothy Jaeryang Baek 352d6b0422 refac 2026-04-02 19:17:34 -05:00
DrMelone 8edb316819 HTTPS moved 2026-02-14 11:37:32 +01:00
Timothy Jaeryang Baek d49d4ff823 refac 2025-11-22 17:43:07 -05:00
Timothy Jaeryang Baek 32961cbc8d feat: analytics 2025-04-11 00:58:18 -07:00
Sebastian 94e53ad792 Bump dependancies and install lint and format packages 2024-09-26 01:47:47 +02:00
Hichem Fantar 002ff2f202 chore: Add typecheck script to package.json 2024-06-17 15:47:58 +01:00
Hichem Fantar 9ff9696f8d refactor: Rename files to use TypeScript extension 2024-06-17 15:46:52 +01:00
Hichem Fantar 6b8147d818 chore: add mdx-check script to package.json and md lint config 2024-06-16 21:44:42 +01:00
Hichem Fantar 306a003563 setup prettier and local search 2024-06-16 21:10:18 +01:00
Timothy J. Baek 37e211c23d feat: sponsors 2024-05-28 00:38:58 -07:00
Jun Siang Cheah 544da36a43 feat: add network diagrams for different deployments to aid network debugging 2024-05-08 17:47:35 +08:00
Timothy J. Baek 19befb40b3 chore: dependency upgrade 2024-03-31 02:16:40 -07:00
Timothy J. Baek dbf1bed01f init 2024-02-19 21:02:13 -08:00