Sébastien Lorber
94067ce930
fix(core): allow overriding ssr/dev template meta tags ( #7952 )
2022-08-19 16:47:28 +02:00
Sébastien Lorber
eac3239757
feat(docs): allow to configure noIndex per doc version ( #7963 )
2022-08-17 16:55:49 +02:00
Sébastien Lorber
de526e1ab2
feat(plugin-docs): docs sidebar item link: support "autoAddBaseUrl" attribute ( #7949 )
2022-08-12 12:50:12 +02:00
yzhe819
d938ff7430
fix(theme-classic): code block line number display with line wrapping ( #7910 )
...
* fix: line numbers display issue of code block
* test: add dogfooding test page
* chore: lint
* test: move to code-block-tests
2022-08-07 23:01:31 +08:00
Sébastien Lorber
c48f33800c
fix(core): swizzle --eject js should not copy theme .d.ts files ( #7776 )
2022-07-14 12:23:06 +02:00
Joshua Chen
89e146f596
fix(utils): allow any non-boundary characters in Markdown heading ID ( #7604 )
2022-06-16 12:32:42 +02:00
dpang314
1f0440074a
fix(cssnano-preset): disable z-index minification ( #7593 )
...
* fix(cssnano-preset): disable z-index minification
* add z-index tests link to pages tests
* revert change to docs
2022-06-15 12:13:25 +02:00
Joshua Chen
e12a2efaeb
docs: normalize capitalization ( #7619 )
2022-06-15 13:04:33 +08:00
Joshua Chen
aeb6c971c0
docs: normalize capitalization ( #7613 )
2022-06-14 14:01:06 +08:00
Joshua Chen
7869e74fd7
refactor(pwa): simplify registerSW code, fix ESLint errors ( #7579 )
2022-06-07 21:42:17 +08:00
Alexey Pyltsyn
5746c58f41
refactor: handle all admonitions via JSX component ( #7152 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-03 14:26:33 +02:00
dpang314
b215ad0e1b
fix(theme-classic): inconsistent code block wrapping ( #7485 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-02 15:56:54 +02:00
dpang314
4f26a1911a
feat(content-docs): last_update front matter ( #7461 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-01 16:27:58 +02:00
Ori Shalom
49ecd8f472
fix(gtag): send the newly rendered page's title instead of the old one's ( #7424 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-27 16:48:29 +02:00
Joshua Chen
e955ae472d
fix(theme-classic): allow nested task lists to preserve the indent ( #7438 )
...
* fix(theme-classic): allow nested task lists to preserve the indent
* add Ul back
2022-05-26 12:41:23 +02:00
James
89ddc6d258
misc: avoid using fs.realpathSync in website ( #7496 )
...
* dogfood fix
* remove other mentions
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-26 13:02:32 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting ( #7477 )
2022-05-24 15:40:26 +08:00
Joshua Chen
b31220032b
refactor(theme-classic): migrate to tsc for build ( #7447 )
...
* refactor(theme-classic): migrate to tsc for build
* fix
2022-05-18 20:08:09 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Joshua Chen
d3788bd126
fix(mdx-loader): use React.Fragment as fragment factory ( #7392 )
2022-05-11 11:02:41 +08:00
Joshua Chen
41f53718c1
fix(theme-common): allow details to not provide a summary ( #7267 )
2022-04-29 19:33:28 +02:00
Joshua Chen
ae788c536f
feat(core): rework client modules lifecycles, officially make API public ( #6732 )
2022-04-29 15:11:20 +02:00
Joshua Chen
c4e92c89e8
fix(core): prevent 404 when accessing /page.html ( #7184 )
2022-04-22 17:44:11 +02:00
AkiraVoid
71ba449a28
fix(content-blog): make footnote reference DOM ID unique on post listing page ( #7212 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-21 16:51:24 +02:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments ( #7188 )
...
* refactor: capitalize comments
* revert...
2022-04-17 16:39:11 +08:00
Jody Heavener
5fb0a2e274
feat(content-docs): draft docs excluded from build & sidebars ( #6457 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-04-13 18:02:05 +02:00
Alexey Pyltsyn
ee4c984bc7
feat(theme-classic): code block showLineNumbers ( #7007 )
2022-04-13 14:42:35 +02:00
Joshua Chen
85f47fd8f7
fix(core): preserve Interpolate children semantics ( #7103 )
...
* fix(core): preserve Interpolate children semantics
* fix
* fix again
2022-04-03 15:16:30 +08:00
Sébastien Lorber
74f653dd82
refactor(theme-{classic,common}): change how site/page/search metadata is handled ( #6925 )
2022-03-18 18:53:00 +01:00
Joshua Chen
cc0bceab9c
chore: tighten ESLint config ( #6931 )
...
* chore: tighten ESLint config
* more refactor
* refactor push
* fix
2022-03-17 17:59:41 +08:00
Joshua Chen
68aaf9201f
feat(core): allow plugin lifecycles to return relative paths ( #6921 )
...
* feat(core): resolve plugin lifecycles returning relative paths
* fix typo
* fix tests
* revert
* rename path -> entryPath
2022-03-16 20:47:15 +08:00
Joshua Chen
c9ee6e467c
refactor: import jest as global; unify import style of some modules ( #6898 )
...
* refactor: import jest as global
* fix react
2022-03-11 19:04:27 +08:00
Joshua Chen
6cbc58943e
feat: allow blog authors email ( #6783 )
2022-03-02 16:28:17 +01:00
Joshua Chen
8a24d56783
fix(mdx-loader): allow image paths to be URL encoded ( #6792 )
2022-03-02 12:14:53 +01:00
Sébastien Lorber
44a65f3337
fix(theme-common): isSamePath should be case-insensitive ( #6758 )
2022-02-25 14:58:54 +01:00
Joshua Chen
39b66d82ef
feat(core): rework swizzle CLI ( #6243 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-25 14:13:15 +01:00
Joshua Chen
051380aa4b
fix(content-docs): properly display collocated social card image ( #6744 )
...
* fix(content-docs): properly display collocated social card image
* oops
2022-02-23 18:21:22 +08:00
Joshua Chen
c6d0d812eb
refactor: convert all fs methods to async ( #6725 )
...
* refactor: convert all fs methods to async
* fix snap
2022-02-20 10:21:33 +08:00
Alexey Pyltsyn
cfef4755da
refactor(theme-classic): clean up CSS of doc sidebar item ( #6622 )
...
* refactor(theme-classic): clean up doc sidebar item CSS
* Use link placeholder for Introduction category
* Use test pages for dogfooding
* Update sidebars.js
* Add another test case
2022-02-11 13:11:47 +08:00
Konstantin Tarkus
916e4f1a26
fix(core): forward ref to Link's anchor element ( #6644 )
...
* feat(core): allow to pass ref into the Link component
* refactor
* add dogfood
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-11 12:34:13 +08:00
TheCatLady
665d164351
feat(content-docs): add custom props front matter ( #6619 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-02-09 17:04:07 +01:00
Joshua Chen
93c5ad8742
fix(theme-classic): make Prism additional languages properly server-side rendered ( #6612 )
2022-02-05 16:03:29 +08:00
Muhammad Redho Ayassa
48f080ebca
feat(content-blog): Allow pagination for BlogTagsPostsPage ( #6221 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-03 18:33:13 +01:00
Jody Heavener
6ec0db4722
feat(content-docs): sidebar item type "html" for rendering pure markup ( #6519 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-02-02 18:38:35 +01:00
Joshua Chen
3573b5e4a9
fix(content-docs): render category with no subitems as a normal link ( #6495 )
2022-02-02 14:45:00 +01:00
Joshua Chen
3c58d7f027
feat(content-docs): allow explicitly disabling index page for generated category ( #6452 )
...
* feat(content-docs): allow explicitly disabling index page for generated category
* docs
* add test
2022-01-27 23:14:07 +08:00
Joshua Chen
24a895fbc5
feat(content-docs): expose isCategoryIndex matcher to customize conventions ( #6451 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-26 17:58:52 +01:00
Joshua Chen
59022c5eea
docs: add advanced guides ( #6296 )
...
* docs: add advanced guides
* complete
* fix link
* Create architecture
* use png
* explanations
* more text
* process.env.NODE_ENV
* typo
* Add image zoom
* nit
* nit
* reorganize
* fix links
* fix links
* reorganize
* elaborate on presets
* fix
* routing docs
* ssr section
* more content
* complete SSR guide
* pathname://
* improvements
* document executionenvironment
* reformat
* final tweaks!
* avoid slug
* oops
2022-01-25 11:29:18 +08:00
Nick Schonning
521eb119a7
chore: add cSpell for spell checking ( #6456 )
...
* chore: Add cSpell for spell checking
* chore: exclude map files and remove dups
* chore: exclude more binary files
* chore: remove MD headings
* Update .cspell.json
* fix a few spellings
* fix more
* fix
Signed-off-by: Joshua Chen <sidachen2003@gmail.com>
* fix a few
* oops
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-25 09:40:02 +08:00
Anthony McCaigue
ab1dada1aa
fix: allow links to JSON in .md files to be transformed as asset links ( #4827 )
...
* fix: fix links to JSON from .md files
closes #3561
It seems to be a common problem that many people are having see:
https://stackoverflow.com/questions/65307533/link-to-static-json-file
Co-authored-by: Anthony McCaigue <anthony@nquiringminds.com>
Co-authored-by: Alois Klink <alois@nquiringminds.com>
* Add dogfooding examples
* actually fix
* oops
Co-authored-by: Alois Klink <alois@nquiringminds.com>
Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
2022-01-23 11:46:27 +08:00