• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vuepress / ecosystem / 46425822555
69%
main: 69%

Build:
Build:
LAST BUILD BRANCH: fix/e2e-default-theme
DEFAULT BRANCH: main
Ran 30 Nov 2026 01:17PM UTC
Jobs 1
Files 761
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Nov 2026 01:10PM UTC coverage: 69.389% (+0.7%) from 68.724%
46425822555

Pull #1191

github

Mister-Hope
fix(theme-default): resolve the current page from its route path

The theme passed `page.filePathRelative` into `isActive()` and
`isLinkActive()`, which then guessed the route of a page from its file path.
The guess is lossy: `README.md` is published at the path of its directory, and
a page can carry a `permalink`, so the file path does not determine the route.

The active sidebar item, `aria-current`, the active nav item and the previous
and the next pages of a `README.md` page were therefore wrong, while the
classic theme, which compares route paths, was not affected.

Use `route.path` everywhere, which is the only source of truth for the route
of the current page:

- `useSidebarControl`, `useNav` and `VPNavMenuGroup` pass the route path.
- `useLayout` and `usePrevNext` select the sidebar of the route.
- `isActive` and `isLinkActive` accept a route path and keep the `.html` and
  the `index` handling, so that both themes no longer need a `README.md`
  specific regular expression.

The scope helpers of `@vuepress/theme-helper` replace the duplicated
`resolveItemScope`, `ensureStartingSlash` and the inline scope normalization
of the theme.
Pull Request #1191: fix(theme-helper): align the sidebar structure with the route scopes

7190 of 11331 branches covered (63.45%)

Branch coverage included in aggregate %.

49 of 53 new or added lines in 11 files covered. (92.45%)

21 existing lines in 3 files now uncovered.

8893 of 11847 relevant lines covered (75.07%)

159.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
0.0
0.0% themes/theme-default/src/client/theme-default/components/VPNavMenuGroup.vue
2
31.71
3.45% themes/theme-default/src/client/theme-default/composables/useNav.ts

Coverage Regressions

Lines Coverage ∆ File
14
21.57
-1.07% tools/helper/src/client/components/Transitions/FadeInExpandTransition.ts
5
29.63
-59.26% plugins/markdown/plugin-shiki/src/node/markdown/highlighter/getLanguage.ts
2
86.11
-5.56% plugins/tools/plugin-redirect/src/client/components/RedirectPopup.ts
Jobs
ID Job ID Ran Files Coverage
1 46425822555.1 30 Nov 2026 01:17PM UTC 1522
71.08
GitHub Action Run
Source Files on build 46425822555
  • Tree
  • List 761
  • Changed 570
  • Source Changed 22
  • Coverage Changed 570
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #46425822555
  • Pull Request #1191
  • PR Base - main (#46422871878)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc