Commit graph

281 commits

Author SHA1 Message Date
Sébastien Lorber
f6bdc3123b
refactor(theme): refactor CodeBlock parseLines logic + use inline snapshots to ease review (#11058)
* refactor codeblock parseLines logic + use inline snapshots

* refactor: apply lint autofix

* eslint

---------

Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-04-04 13:22:51 +02:00
Sébastien Lorber
d33004da1e
chore: upgrade monorepo to TS 5.8 (#10966)
* Upgrade to TS 5.8

* increase build perf CI timeout values

* enable erasableSyntaxOnly

* enable erasableSyntaxOnly
2025-03-06 12:33:11 +01:00
Sébastien Lorber
a72a06ecb1
fix(plugins): add missing validateOptions types (#10929)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-02-13 15:29:51 +01:00
Zed Spencer-Milnes
43795fcabb
feat(blog): Add author social icons for bluesky, mastodon, threads, twitch, youtube, instagram (#10768)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: Chas Emerick <chas@cemerick.com>
2024-12-27 12:32:25 +01:00
Sébastien Lorber
f9825af43e
refactor: prepare types for React 19 (#10746) 2024-12-06 18:03:04 +01:00
Sébastien Lorber
a995865314
feat(blog): Add frontMatter.sidebar_label (#10729) 2024-11-29 18:05:09 +01:00
Liviu Ionescu
5cf2c39836
feat(blog): Add frontMatter.title_meta to override title for SEO (#10586)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-10-31 11:59:35 +01:00
Sébastien Lorber
5bab0b5432
feat(core, mdx-loader): deduplicate MDX compilation - siteConfig.future.experimental_faster.mdxCrossCompilerCache (#10479) 2024-09-06 16:07:09 +02:00
Sébastien Lorber
a47e8dda2d
refactor(mdx-loader): re-export metadata module instead of serializing it (#10470) 2024-09-02 17:54:29 +02:00
Sébastien Lorber
a4329d3388
refactor(mdx-loader): read metadata from memory (loaded content) instead of fs (#10457)
* mdx loader shouldn't read metadata from file system but from memory

* comments

* refactor: apply lint autofix

* apply same for blog

* apply same for blog

* refactor: apply lint autofix

* apply same for pages
2024-08-30 08:02:26 +02:00
ozaki
2aef92cb9e
fix(blog): normalize inline authors socials (#10424)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2024-08-29 18:42:03 +02:00
ozaki
02ed7d9132
fix(blog): apply baseUrl to relative image in blog authors (#10440)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-29 14:40:42 +02:00
Sébastien Lorber
d5885c0c5d
refactor(mdx-loader): refactor mdx-loader, expose loader creation utils (#10450) 2024-08-27 13:52:45 +02:00
Sébastien Lorber
547979a59f
fix(create-docusaurus): Improve init templates blog setup + fix warnings (#10392) 2024-08-12 15:59:03 +02:00
ozaki
a096bbc0b9
feat(blog): add onUntruncatedBlogPosts blog options (#10375)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-09 16:48:44 +02:00
Rohan Thakur
7be1feaa0a
feat(blog): add feed xlst options to render beautiful RSS and Atom feeds (#9252)
Co-authored-by: ozakione <29860391+OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-08-02 18:50:48 +02:00
ozaki
f356e29938
feat(blog): authors page (#10216)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-08-01 17:30:49 +02:00
Sébastien Lorber
61d6858864
refactor(blog): theme-common shouldn't depend on blog content plugins (#10313) 2024-07-19 15:55:35 +02:00
ozaki
a6de0f2725
feat(blog): author header social icons (#10222)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-07-12 09:59:56 +02:00
Alice Zhao
aab1f4868b
feat(blog): group sidebar items by year (themeConfig.blog.sidebar.groupByYear) (#10252)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-06-28 16:59:35 +02:00
ozaki
de59621fbb
feat(blog): warn duplicate and inline authors (#10224)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-06-27 11:40:18 +02:00
Sébastien Lorber
cc506c8950
feat(mdx): support recma plugins (#10241) 2024-06-21 19:25:32 +02:00
Sébastien Lorber
a7afd9cc87
fix(docs, blog): Markdown link resolution does not support hot reload (#10185) 2024-05-31 17:47:36 +02:00
ozaki
0eb7b64aac
feat(docs, blog): add support for tags.yml, predefined list of tags (#10137)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: slorber <slorber@users.noreply.github.com>
2024-05-31 17:32:08 +02:00
Sébastien Lorber
e34614963e
fix(mdx-loader): resolve Markdown/MDX links with Remark instead of RegExp (#10168) 2024-05-24 19:03:23 +02:00
Sébastien Lorber
17f3e02a42
feat(core): hash router option - browse site offline (experimental) (#9859) 2024-05-19 15:44:58 +02:00
Sébastien Lorber
5c1d6464d8
feat(core): simplify plugin API, support route.props (#10042) 2024-04-16 13:57:11 +02:00
Sébastien Lorber
9017fb9b1d
feat(sitemap): add support for "lastmod" (#9954) 2024-03-20 11:47:44 +01:00
Sébastien Lorber
465cf4d82c
refactor(docs,blog): last update timestamp should be in milliseconds instead of seconds (#9963) 2024-03-19 09:51:27 +01:00
ozaki
c745021b01
feat(blog): add LastUpdateAuthor & LastUpdateTime (#9912)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-15 12:50:06 +01:00
ozaki
14bec09670
fix(blog): apply trailing slash to blog feed (#9920)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-03-14 16:45:00 +01:00
ozaki
2851c93d0d
feat(blog): allow processing blog posts through a processBlogPosts function (#9886)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2024-03-05 22:58:16 +01:00
Sébastien Lorber
f159bb2472
perf: optimize getFileCommitDate, make it async (#9890) 2024-02-24 23:32:18 +01:00
ozaki
0279c329ad
refactor(theme): dates should be formatted on the client-side instead of in nodejs code (#9868)
Co-authored-by: OzakIOne <OzakIOne@users.noreply.github.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-02-23 18:30:05 +01:00
John Reilly
60d9346965
refactor(theme): use JSON-LD instead of microdata for blog structured data (#9669)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-02-15 16:25:21 +01:00
Liviu Ionescu
70ba9d2d01
feat(blog): add blog pageBasePath plugin option (#9838)
Co-authored-by: sebastien <lorber.sebastien@gmail.com>
2024-02-13 13:27:23 +01:00
Sébastien Lorber
affca7a9a2
feat: siteConfig.markdown.parseFrontMatter hook (#9624) 2023-12-16 02:50:26 +01:00
ozaki
4cc56133f7
fix(content-blog): add baseUrl for author.image_url (#9581) 2023-12-05 16:36:46 +01:00
Sébastien Lorber
7e456ece3c
feat(mdx-loader): upgrade to MDX v3 + (#9451) 2023-10-26 15:47:11 +02:00
Sébastien Lorber
aa958f0cc1
fix(plugin-blog): blog archive should hide unlisted blog posts (#9437) 2023-10-23 15:27:41 +02:00
VinceCYLiao
109ab0c293
fix(content-blog): links in feed should be absolute (#9151)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: 政宇 廖 <vince.liao@nextbank.com.tw>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-08-03 18:36:40 +02:00
Sébastien Lorber
062a0d2eb6
test(blog-plugin): fix ability to generate proper blog website fixture build snapshot (#9195) 2023-08-03 17:57:11 +02:00
John Reilly
4ecc86f89f
feat(blog-plugin): limit option for blog feedOptions (#9189) 2023-08-03 15:53:43 +02:00
Tatsunori Uchino
16a366b5ec
fix(init): change initial site URL to one that is safe for the future (#9133)
RFC 2606 reserves the `.example` domain for illustrative purposes.
2023-07-13 21:59:23 +08:00
Sébastien Lorber
d746f689ae
fix: remove useless js-loader in front of mdx-loader (#8972) 2023-05-12 16:31:39 +02:00
Sébastien Lorber
bf913aea2a
feat: upgrade to MDX v2 (#8288)
Co-authored-by: Armano <armano2@users.noreply.github.com>
2023-04-21 19:48:57 +02:00
Sébastien Lorber
d220f481a7
fix(theme): add __ prefix to technical anchors, search crawlers (Algolia) should ignore them (#8909) 2023-04-20 16:39:50 +02:00
Joshua Chen
e8a07633ba
chore: upgrade dependencies (#8534)
* chore: upgrade dependencies

* FIxes

* Bump again
2023-01-10 13:23:16 -05:00
John Reilly
022e00554e
feat(blog): add options.createFeedItems to filter/limit/transform feed items (#8378)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-29 13:31:32 +01:00
Anders Bech Mellson
19ba0ff49d
feat(theme-algolia): add option.replaceSearchResultPathname to process/replaceAll search result urls (#8428)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-22 18:24:28 +01:00