Evan You
16064023cf
chore: upgrade to TS 5.0 + use moduleResolution: "bundler"
2 years ago
0xRaiden
ee6cda42d8
fix(theme): prevent code-groups conflict with shiki-twoslash ( #2059 )
2 years ago
Evan You
1f2f1ff43d
fix: decode when query selecting current hash
...
close #2089
2 years ago
Evan You
a9e07ce144
release: v1.0.0-alpha.60
2 years ago
Evan You
86e2a6f972
feat: support multiple selectors for scrollOffset
2 years ago
Evan You
a6b18a8b9a
feat(theme): add animation to mobile page outline dropdown
2 years ago
Divyansh Singh
8370abc258
docs: fix install command in gh workflow
2 years ago
Evan You
85ff58df5c
release: v1.0.0-alpha.59
2 years ago
Evan You
81ae1c79cd
fix(theme): improve Chinese font handling
...
close #2036
2 years ago
Evan You
9b85e435fe
docs: add dedicated section on SSR compatibility
2 years ago
Evan You
2ad668cd54
feat: defineClientComponent helper
2 years ago
Evan You
07a296f6c8
docs: highlight vite, vue & markdown config
2 years ago
Evan You
52b04f324c
fix: handle async enhanceApp when extending themes
2 years ago
Evan You
b0160bc261
fix(theme): move doc-footer-before slot into the footer
...
close #2082
2 years ago
Evan You
5f3aac95c5
a11y: add hover underscore for main text links
2 years ago
Evan You
736f6c643f
docs: fix font preload example
2 years ago
Evan You
0dc98ef2fb
release: v1.0.0-alpha.58
2 years ago
Evan You
323fe30c9d
docs: add note about importing optional components when using no fonts default theme
2 years ago
Evan You
7b0f28915f
fix: fix optional component imports from default theme
2 years ago
Evan You
51c57d13a8
release: v1.0.0-alpha.57
2 years ago
Evan You
da1691d77e
feat(theme): support extending default theme without importing fonts
2 years ago
Evan You
24735dbcde
perf(theme): preload font
2 years ago
Evan You
5dd2a233b1
docs: preload home page images
2 years ago
Evan You
32dfaf5adc
fix(types): allow void return in transformHead hook
2 years ago
Evan You
2bf8df4bae
BREAKING CHANGE: markdown.headers is now disabled by default
2 years ago
Evan You
468c049ccd
feat: expose page and assets on build hooks TransformContext
2 years ago
Evan You
b86988333b
fix DocOutlineDropdown visible range
2 years ago
Evan You
dc88efecff
chore: fix tests
2 years ago
Alija Sabic
3aea38991c
Add symbol for header anchor as CSS variable and rule using :before
2 years ago
Alija Sabic
3355fcc1df
Provide accessible markdown-it-anchor configuration using ZeroWidthSpace (HTML Entity) and custom renderAttrs
2 years ago
Alija Sabic
9a315d8855
Revert "Provide accessible markdown-it-anchor configuration"
...
This reverts commit f8d81e377c
.
2 years ago
Alija Sabic
a100f88993
Revert "Update theme-default style for accessible header-anchors"
...
This reverts commit 7b941cd1b0
.
2 years ago
Alija Sabic
03e9e4206a
Update theme-default style for accessible header-anchors
2 years ago
Alija Sabic
86259682c8
Provide accessible markdown-it-anchor configuration
2 years ago
Evan You
7182c4231f
feat(theme): page outline for mobile
2 years ago
Evan You
15a2dd2eb9
adjust custom container bg contrast
2 years ago
Evan You
3b6a6d1abd
feat(theme): a11y improvements
2 years ago
Evan You
6ca34c4236
feat(theme): aria-label for social links
2 years ago
Evan You
43f6f02eb8
release: v1.0.0-alpha.56
2 years ago
Evan You
2f26693a1d
fix: do not include head tags in inlined site data
2 years ago
Evan You
b79b8734f3
release: v1.0.0-alpha.55
2 years ago
Evan You
03423f13aa
docs: add example for vite / vue options
2 years ago
Evan You
9aafc88d59
fix: fix scroll to hash on new tab during dev
...
close #653
2 years ago
Evan You
470ce3d3f3
fix: gracefully handle config update with syntax error
...
close #2041
2 years ago
Evan You
31b548c718
docs: fix location description of the public dir
...
Should be relative to srcDir instead of project root
2 years ago
Evan You
d64a76eb36
perf: kickoff main chunk fetch earlier in browsers without modulepreload support
2 years ago
Evan You
22ace7b075
perf: inline site data on page
...
Previously the site data is bundled in JavaScript, and when it changes,
it invalidates the chunk hash of the framework chunk, and in turn
invlidates the chunk hash of **every page**.
With this change, the site data is now inlined in each page as a JSON
string, similar to the page chunk hash data. This ensures that config
changes will no longer affect JavaScript chunk hashes.
2 years ago
Evan You
8b34a4c058
release: v1.0.0-alpha.54
2 years ago
Evan You
bed202dbcc
fix: fix chunking logic that causes breakage
...
follow up of 905f58b
fix #2072
fix #2073
fix #2074
fix #2075
2 years ago
Evan You
a7cca23c37
release: v1.0.0-alpha.53
2 years ago