Commit graph

71 commits

Author SHA1 Message Date
Tatsunori Uchino
a0248ed404
docs: Suggest remark-cjk-friendly in migration guide (#10892) 2025-02-03 13:02:20 +01:00
Lin Huang
60499e2cdc
docs: fix example typo for migration-versioned-sites.mdx (#10717) 2024-11-25 10:20:09 +01:00
Tatsunori Uchino
6c7f2fde20
docs: suggest using {<...>...</...>} if don't use Markdown in migra… (#10167) 2024-05-27 19:24:14 +02:00
Tatsunori Uchino
562a0be392
docs: recommend users to remove hast-util-is-element in migration to v3 (#10143) 2024-05-16 18:29:14 +02:00
Sébastien Lorber
e736dcb879
test(e2e): TypeCheck website/starter in min/max range of TS versions (#10063) 2024-04-19 19:01:04 +02:00
Mikey O'Toole
edb695b9aa
docs: add troubleshooting steps to migration/upgrade page (#9490)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2024-04-18 17:04:56 +02:00
Zed Spencer-Milnes
9a47ec0581
refactor(website): organise blog posts by year (#9965) 2024-03-20 18:08:05 +01:00
Cole Cecil
8597e5dcdb
docs: update troubleshooting details for v3 migration (#9782) 2024-01-24 12:12:06 +01:00
Tatsunori Uchino
f794559962
docs: add admonition for incompatibility with * and ** in Chinese and Japanese in MDX v2+ (#9692) 2024-01-18 13:50:15 +01:00
Sébastien Lorber
4388267c26
fix(core): various broken anchor link fixes (#9732) 2024-01-12 16:09:45 +01:00
Tatsunori Uchino
332a466893
docs: add guide to keep title of caution admonitions (#9695) 2024-01-04 11:05:24 +01:00
Zwyx
b40524fe5f
docs: fix v2 admonitions syntax being replaced in migration guide (#9574) 2023-12-01 16:42:26 +01:00
洪鈞閔 ( jasper )
6e8292da4c
docs: update guide to mdx v3 typo (#9585) 2023-11-26 18:50:13 +01:00
Tatsunori Uchino
6cc29fac01
docs: add heads up for Prettier users (#9471)
* docs: add a note on the use of Prettier for MDX

* docs: add guides for Prettier users migrating to v3

* Update website/docs/guides/markdown-features/markdown-features-react.mdx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>

* docs: Update MDX version

* Update website/docs/migration/v3.mdx

* Update v3.mdx

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-11-23 13:38:04 -05:00
Adam Patterson
78606c4d9a
docs: add missing comma (#9555)
* Update v3.mdx Missing comma

* Fix more

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-11-15 12:37:20 -05:00
Oluwatobi Sofela
daf47dfba1
docs: delete duplicate closing div tag (#9545)
* docs: delete duplicate closing div tag

* Fix another

* Fix another

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-11-15 12:21:16 -05:00
Shahed Nasser
9b66f575e7
docs: fix incorrect package name for remark-emoji in migration guide (#9522) 2023-11-09 13:08:49 -05:00
Sébastien Lorber
a456fefca1
docs: Docusaurus v3.0 blog post (#9433)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Dmitry Vinnik <dmitryvinn@users.noreply.github.com>
2023-10-31 17:04:44 +01:00
Sébastien Lorber
495c7936b6
chore: v3.0.0-rc.1 release (#9453) 2023-10-26 20:10:02 +02:00
Sébastien Lorber
4a0bd92148
docs: v3 upgrade guide should mention MDX v1 compat options (#9452) 2023-10-26 15:58:37 +02:00
Sébastien Lorber
7e456ece3c
feat(mdx-loader): upgrade to MDX v3 + (#9451) 2023-10-26 15:47:11 +02:00
Sébastien Lorber
7ee2f75ce1
chore: v3.0.0-rc.0 release (#9418) 2023-10-20 11:24:29 +02:00
Sébastien Lorber
4e150d2b82
docs: add Docusaurus v3.0 upgrade guide (#9417) 2023-10-19 19:38:32 +02:00
Surav Shrestha
d7890a18d4
docs: fix typos in website/docs/migration/migration-manual.mdx (#9397) 2023-10-12 18:43:34 +02:00
Sébastien Lorber
f5ae537d3e
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308) 2023-09-15 10:48:21 +02:00
Sébastien Lorber
a59aead1e2
chore: attempt to fix Crowdin issues (#9220) 2023-08-12 02:56:54 +02:00
Armano
fabf053def
feat(npm-to-yarn): add support for PnPm and custom converters (#8690)
Co-authored-by: Ben Gubler <nebrelbug@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-02-24 17:59:15 +01:00
Serenus
773529a3bc
docs(website): fix broken external links wrongly modified to use the .mdx extension (ex: github README.mdx) (#8509)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-01-05 13:28:30 +01:00
Sébastien Lorber
120b99b1f3
docs(website): use .mdx extension for every docs (#8490) 2022-12-30 15:08:28 +01:00
Sébastien Lorber
42ab07f62f
feat(theme-classic): themeConfig navbar/footer logos accept className/style + update Meta Open-Source Logo (#7643) 2022-06-23 11:22:27 +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
ab566ecce3
docs: remove useless front matter (#7518) 2022-05-28 19:07:45 +08:00
Joshua Chen
9fd5d62340
docs: enhance docs about Markdown TOC and metadata (#7278)
* docs: multiple documentation improvements

* fix

* fix
2022-04-30 21:30:14 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies (#6916) 2022-03-15 13:16:21 +08: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
c1e3801ee7
fix(cli): allow passing a list of file names to write-heading-ids (#6500) 2022-01-29 12:21:15 +08: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
Joshua Chen
01676329e1
docs: split sidebar documentation into sections (#6450)
* docs: split sidebar documentation into sections

* set slugs

* fix links
2022-01-23 17:50:48 +08:00
Joshua Chen
1d957d97e8
fix(migrate): migration CLI should correctly migrate gtag options (#6276)
* fix(migrate): migration CLI should correctly migrate gtag options

* fix
2022-01-06 20:39:23 +08:00
Joshua Chen
4872decb42
docs: normalize CodeBlock highlighting (#6223) 2021-12-30 10:51:00 +08:00
Joshua Chen
73ee356949
docs: audit grammar issues (#6203)
* docs: audit grammar mistakes

* fix code block language

* revert change

* let's get another
2021-12-27 19:34:04 +08:00
Joshua Chen
dedf5ace5f
docs: normalize usage of placeholders (#6142) 2021-12-21 14:56:29 +01:00
colton
638a171673
docs: update link to init template README.md (#6134)
Signed-off-by: Colton Padden <colton.padden@fastmail.com>
2021-12-20 08:47:36 +08:00
Joshua Chen
ae3596df39
docs: add h4 into toc on certain pages (#5728) 2021-10-19 20:15:11 +02:00
Sébastien Lorber
f6ec757aa0
feat: npm init docusaurus, yarn create docusaurus (#5635)
* initial create-docusaurus impl

* cleanup

* @docusaurus/init renamed to create-docusaurus

* 0.0.6

* update lockfile

* fix lint

* remove npm2yarn for "npm init" because npm2yarn doesn't convert it and yarn result fails to execute

* prettier

* add correct version

* prettier

* prettier

* prettier

* prettier

* fix annoying --config .prettierrc issue
2021-10-07 16:06:42 +02:00
Joshua Chen
e274c72642
docs: fix more references to Discord channels (#5585) 2021-09-19 09:45:21 +03:00
Joshua Chen
493225a3c6
feat(plugin-blog): multi-authors support + authors.yml global configuration (#5396)
* Complete function

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* A lot of blank lines

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More lenient validation

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Remove or

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Simpler logic

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Expand docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Better docs

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Dogfood

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* More writeup

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Polish

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Polish

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Move mergeAuthorMap to authors.ts

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Unbreak relative assets

* Update docs

* Clarify in docs

* simplify feed authors

* rename authorMap -> authorsMap

* mergeAuthorsMap -> getBlogPostAuthors

* website => 5 blog posts per page

* improve authors map file

* Extract new theme authors components + display in row

* add comment for meta array syntaxes

* blog => getPathsToWatch should watch authorsMap file

* remove useless v1 blog FBID frontmatter

* keep older frontmatter syntax for now

* revert blog frontmatter

* Better console message

* better blog authors frontmatter impl

* add multi authors to beta blog post + fix some authors margins

* fix React key

* Refactor: mdx loader should support a more flexible assets system (poc, not documented yet)

* better display of blog post authors: adapt layout to authors count + add line clamp

* smaller local image

* fix blog feed tests

* fix blog frontmatter tests + improve validation schema

* add more frontmatter tests

* add tests for getAuthorsMapFilePath

* tests for validateAuthorsMapFile

* add tests for readAuthorsMapFile

* test getAuthorsMap

* exhaustive tests for getBlogPostAuthors

* fix remaining tests

* missing blog plugin author tests

* fix windows tests

* improve blog multi-author's doc

* Use new format in init template

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Improve error message

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* update feed snapshot

* blog authors: limit to 2 cols + fix margins for no authors

* minor doc improvements

* better init template blog posts, demonstrating Blog features

* replace the legacy blog author frontmatter in remaining places

* Prefer using clsx

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* cleanup getColClassName

* remove blog author name/title line-clamping

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-26 12:21:58 +02:00
Paul O’Shannessy
8341527fc9
refactor: rename Git master branch to main (#5345)
* Prepare to renaming master branch to main

* Update CONTRIBUTING.md

* Update packages/docusaurus-migrate/src/__tests__/__fixtures__/missing_version_website/website/package.json

* Update packages/docusaurus-migrate/src/__tests__/__fixtures__/complex_website/website/package.json

* Update packages/docusaurus-migrate/src/__tests__/__fixtures__/simple_website/website/package.json

* missing master -> main replaces

* useless char

* For GH Pages org deploy, DEPLOYMENT_BRANCH env is now required

* fix versioning page

* fix vercel links

* update deployment.mdx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-08-17 18:41:53 +02:00