Commit 8edd101
fix: address Copilot review on rename commit ad14943
- src/pages/{en,ja}/cookbook/[...slug].astro: pass lang prop to
SidebarTocHeadings. The earlier Copilot fix (commit 5a9186c) wired
lang through the cli/themes/vfm/viewer slug pages but missed the
new-features slug page (now cookbook). Without lang, the toggle
aria-label rendered as "Toggle subsections of <heading>" even on
Japanese pages.
- src/layouts/DocsLayout.astro: align global-nav Tutorials/FAQ URLs
with the home sidebar. Both now use https://vivliostyle.org/en/...
and https://vivliostyle.org/ja/... — the global nav was previously
using the bare /tutorials/ and /faq/ paths for en pages, which
required the marketing site to redirect.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 097c667 commit 8edd101
3 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
0 commit comments