Gavin John
280795c9ed
Merge c0831fd709 into 0899618556
3 weeks ago
Yuxuan Zhang
544cd81259
feat(theme)!: add `isHome` frontmatter option ( #4673 )
...
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>
8 months ago
Divyansh Singh
af4717d682
fix(theme): remove unnecessary navigation role on nav element
2 years ago
Henry Bley-Vroman
733d986a84
fix(theme/a11y): remove duplicate assistive text from outline nav [ #3800 ] ( #3803 )
2 years ago
Gavin John
c0831fd709
Merge branch 'main' into patch-3
2 years ago
Kia King Ishii
d10bf42c26
feat(theme): new design for local nav and global header ( #3359 )
...
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Gavin John
9bd76e2b84
Hide "On this page" when printing
2 years ago
Divyansh Singh
0088434895
fix(theme): prevent layout shift in search button key ( #2889 )
2 years ago
Kia King Ishii
e4f5c51bbe
feat(theme): improve color system ( #2797 )
...
close #2100
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
2 years ago
Evan You
16064023cf
chore: upgrade to TS 5.0 + use moduleResolution: "bundler"
3 years ago
Evan You
7182c4231f
feat(theme): page outline for mobile
3 years ago
Evan You
657a7d38df
fix(theme): re-support dynamic headers
3 years ago
Evan You
1457681484
fix: ensure HMR works properly for page outline
...
The client-side based implementation in #1281 makes HMR update for the
outlines flaky and unreliable.
The headers payload for each page chunk is relatively cheap in return
for the correctness, since they are inlined as a JSON string.
3 years ago
Divyansh Singh
5d2fc3f922
feat(theme): allow removing badge text from outline ( #1825 )
3 years ago
Divyansh Singh
8de2f4499d
feat: add i18n feature ( #1339 )
...
fix #291
fix #628
fix #631
fix #902
fix #955
fix #1253
fix #1381
Co-authored-by: Hiroki Okada <hirokio@tutanota.com>
Co-authored-by: Sadegh Barati <sadeghbaratiwork@gmail.com>
3 years ago
Kia King Ishii
471f00a68d
feat(theme): refine overall styles ( #1049 ) ( #1790 )
...
close #1049
3 years ago
Divyansh Singh
288aa48b92
feat(theme): support dynamic headers and nesting in outline ( #1281 )
...
Co-authored-by: fi3ework <fi3ework@gmail.com>
3 years ago
meteorlxy
71358ebce7
refactor: externalize markdown headers plugin ( #1230 )
3 years ago
Divyansh Singh
0048e2bf1e
feat(build): switch to vite 3, support clean urls and esm mode ( #856 )
3 years ago
Divyansh Singh
22006e8d6e
fix: decode href before using as query selector ( #951 )
3 years ago
Divyansh Singh
a8a16237cd
feat: allow custom outline title ( #689 ) ( #690 )
...
close #689
4 years ago
Kia King Ishii
9674dc4db4
feat: stick aside ads to the page bottom
...
To avoid layout shift on page change
4 years ago
Kia King Ishii
36a67bd67d
feat: add carbon ads feature ( #647 )
...
close #647
4 years ago