* fix: always log error when failed to fetch page
* fix(theme): add fallback for `heroImageSlotExists` (#5076)
for users who are importing VPHero in custom theme
* fix(theme): align badges in h1 and h2 (#5087) (closes#5063)
* fix(theme): highlight active link in mobile nav menu (#5086) (closes#5068, closes#5074)
* feat(theme): use `@layer __vitepress_base` to wrap the styles in base.css (#4905)
* fix(theme): remove margin between code groups and blocks in markdown containers
closes#5099
* docs: add vitepress-plugin-typesense npm link (#5100)
* feat(theme): upgrade DocSearch to 4.5 with sidepanel (#5092)
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
* release: v2.0.0-alpha.16
* chore: adjust heading level
* feat(theme): support specifying list of details in home page features (closes#5101)
* feat(theme): enable text-autospace and text-spacing-trim (closes#4996)
* feat(theme): add Japanese translation for "copied" label (#5106)
* fix(theme): add `rel="alternate"` and `hreflang` to links in language menu (#5108)
* fix(theme): keep pnum,tnum features in Inter
closes#5096
* chore: bump deps, remove rimraf
* Refactor code structure for improved readability and maintainability
* reverted changes: update button text and aria-label for local search provider
* fix: add vite-ignore comment for dynamic import of MossClient
* docs: format
* fix: `processIncludes` no longer swallows errors
**BREAKING CHANGE:**
The previous `<!-- @include: ./path/to/file -->` syntax silently ignored errors when files did not exist. This behavior was originally intended as an escape hatch while documenting includes, but better solutions now exist using Shiki transformers.
For most users, no code changes are required. If you now see errors, it means your includes are broken and were previously not being reported.
Users who intentionally reference non-existent files or want to document includes without resolving them can configure `markdown.codeTransformers` with a `postprocess` hook. See `docs/.vitepress/config.ts` in this repo for an example.
* docs: add Hostinger to deployment guide (#5111)
* docs: sync deploy guides
* docs: fix typo
* fix(theme): navbar menu group is incorrectly highlighted (#5113)
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
* feat(types): add MaxMatchPerPage option to DefaultTheme
---------
Co-authored-by: Evan You <evan@vuejs.org>
Co-authored-by: Michael Cozzolino <michaelcozzolino@outlook.it>
Co-authored-by: seeksky <148623946+seekskyworld@users.noreply.github.com>
Co-authored-by: hotdogc1017 <hotdogc1017@gmail.com>
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: Hayden Hung Hoang <94696449+haydenhoang@users.noreply.github.com>
Co-authored-by: Dylan Tientcheu <dylantientcheu@gmail.com>
Co-authored-by: Tatsunori Uchino <tats.u@live.jp>
Co-authored-by: agneliutkiene <agne.liutkiene@hostinger.com>
Co-authored-by: WizardsBowl <125746317+WizardsBowl@users.noreply.github.com>
Add integration for InferEdge Moss search provider as an alternative
search option for VitePress sites. Enable the Moss search provider
by setting `themeConfig.search.provider` to 'moss' in the site
configuration.
Include the following updates:
- Add new VPMossSearchBox component with full search UI
- Implement Moss indexer plugin for build-time indexing
- Integrate with existing VPNavBarSearch component
- Add type definitions for Moss search configuration
- Add InferEdge logo asset for search UI
BREAKING CHANGE: Uses DocSearch v4 beta. No change is required if you're not customizing the styles of navbar search button or modal. DocSearch AI features are in private beta, you can apply for them at https://forms.gle/iyfb5pC2CiiwszUKA
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>
BREAKING CHANGES: `search.options.exclude` for local search is removed in favor of more flexible `search.options._render`
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>