feat: local search, blog, PWA, CI, 404 page, and docs polish#3
Merged
Aldiwildan77 merged 2 commits intomasterfrom Apr 16, 2026
Merged
feat: local search, blog, PWA, CI, 404 page, and docs polish#3Aldiwildan77 merged 2 commits intomasterfrom
Aldiwildan77 merged 2 commits intomasterfrom
Conversation
Local search: - Add @easyops-cn/docusaurus-search-local with hashed index, keyed to the docs routeBasePath (/) so the search bar covers every page. Blog / Changelog: - Re-enable the blog preset as /changelog with RSS + Atom feeds. - Ship one starter post announcing the docs refresh. - Add "Changelog" link to the navbar. PWA: - Add @docusaurus/plugin-pwa with manifest.json, apple-touch-icon, and mask-icon. swRegister is off for now to avoid cache surprises. CI: - New ci.yml that runs yarn build on every PR — catches MDX errors and broken internal links before merge. - New dependabot.yml to keep Docusaurus, Actions, and dev deps current. Custom 404: - Branded 404 page with three "go somewhere useful" tiles (Intro, Getting Started, Commands) and links to the FAQ and support server. Open Graph image: - New 1200×630 SVG at static/img/og-image.svg matching the land theme. OG and Twitter card metadata now point at it. Favicon: - Switch from the default Docusaurus favicon.ico to img/logo-mocha.svg. Other polish: - showLastUpdateAuthor enabled in docs preset. - Copy-button CSS: visible border, gold hover accent, "copied" state. - Admonitions on three pages: permissions info box in Getting Started, edit-window warning in Messages, Manage Webhooks note in Personalization.
yarn v1 doesn't accept --frozen-lockfile=false (it's not a valid flag format). And since no lockfile is committed (.gitignore excludes *.lock), the frozen-lockfile check would fail anyway. Match the existing gh-pages.yml pattern: plain yarn.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Local search:
Blog / Changelog:
PWA:
CI:
Custom 404:
Open Graph image:
Favicon:
Other polish: