Commit graph

4296 commits

Author SHA1 Message Date
Yangshun Tay
faef753730
docs: mention admonition quirks with Prettier (#6135)
* docs: mention admonition quirks with Prettier

* Update markdown-features-admonitions.mdx

* Update markdown-features-admonitions.mdx

* Update markdown-features-admonitions.mdx
2021-12-20 12:14:50 +08:00
Himanshu
c0a99786b3
docs: elaborate on "docs-only" and "blog-only" (#6131)
* rephrased documentation

* Rewording

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-20 09:29:43 +08: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
18cb13d6cc
docs: refactor docs sidebar doc (#6130)
* docs: refactor docs sidebar doc

* Edits
2021-12-19 19:08:59 +08:00
Joshua Chen
ac7c7670cd
docs: refactor styling/theming docs (#6129)
* docs: refactor styling/theming docs

* Add classic-typescript to README
2021-12-19 10:38:58 +08:00
Alexey Pyltsyn
2318ef298f
fix: do not use aria-hidden in heading anchor links (#6128) 2021-12-19 00:35:31 +03:00
不郑
7e5f6bb805
feat(content-blog): support json feed (#6126)
* feat(content-blog): support json feed

* feat(content-blog): support json feed

* feat(content-blog): add json type to default feed options

* Refactors, docs, validation

* Fix test

* Ammend docs

* Add API doc

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-18 22:47:40 +08:00
Joshua Chen
06bd44c693
feat(theme-common): stable classname for code blocks (#6125)
* feat(theme-common): stable classname for code blocks

* Remove extra lines

* Fix styles

* Remove line
2021-12-18 13:32:30 +08:00
Joshua Chen
a5d2815154
fix(content-docs): restore behavior when pagination front matter is null (#6124)
* fix(content-docs): restore behavior when pagination front matter is null

* update snaps
2021-12-18 10:31:31 +08:00
Christopher Klint
8f18cbbeb3
fix(theme-classic): add outline to focused code blocks (#6121)
* fix(theme-classic): add outline to focused code blocks

* refactor: remove opacity
2021-12-18 09:07:17 +08:00
Drylozu
fa3926e2a1
feat(theme-classic): allow passing additional attributes to tab headings (#6082)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-17 18:23:50 +01:00
Joshua Chen
74aa87242f
test: use snapshots for sidebar tests (#6123) 2021-12-17 18:17:09 +01:00
Sébastien Lorber
5dc1cdf987
fix(website): fix yarn build:website:fast (#6122) 2021-12-17 12:30:06 +01:00
Joshua Chen
f84eb073e7
docs: mention that SEO through front matter is better than head tag (#6112) 2021-12-17 12:29:51 +01:00
Joshua Chen
77c93cbda6
misc: ignore some files during npm publish (#6092) 2021-12-17 11:38:26 +01:00
Alexey Pyltsyn
6ab4efe3a6
refactor: remove some useless code (#6118) 2021-12-17 15:41:02 +08:00
Joshua Chen
7db4884853
refactor(website): make deploy preview open next version docs by default (#6120)
* refactor(website): make deploy preview open next version docs by default

* Fix links
2021-12-17 11:00:12 +08:00
Joshua Chen
0c2765fb74
fix(create-docusaurus): make initial editUrl functional (#6119) 2021-12-17 10:47:58 +08:00
Ziv
16ce797551
docs: add Molecule website to showcase (#6111)
* docs: add Molecule website to showcase

* Update website/src/data/users.tsx

Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-12-16 21:33:43 +08:00
Sébastien Lorber
fc0df304c0
feat(core): allow plugins to customize/override Webpack devServer config (#6107) 2021-12-16 12:02:29 +01:00
Joshua Chen
649f18d304
fix(create-docusaurus): give a clearer message when installation failed (#6095) 2021-12-15 18:03:38 +01:00
Kristoffer K
b48c6defae
fix: declare missing dependencies (#6097)
* fix(utils-validation): add missing peer dependencies `react` and `react-dom`

* fix(theme-classic): add missing peer dependency `@docusaurus/core`

* ci: disable PnP fallbacks

* ci: link to the docs

* Update package.json

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-13 09:47:07 +08:00
Harsh Mishra
5fb64041c0
docs: add Enarx website to showcase (#6089) 2021-12-11 21:54:20 +08:00
Joshua Chen
e57929c114
chore: add missing dependencies on tslib (#6094) 2021-12-11 18:18:25 +08:00
Jeroen Claassens
d7a595d3e0
docs: add sapphire to showcase (#6090)
* feat(users): add sapphire to docusaurus users

* chore: regen sapphire image

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-11 11:17:34 +08:00
Jeroen Claassens
2cc3322c70
docs(showcase): "much more pages" => "many more pages" (#6091) 2021-12-11 11:17:04 +08:00
Sébastien Lorber
8265e165b7
fix(theme-translations): publish theme-translation lib, including typedef (#6088) 2021-12-10 19:09:56 +01:00
Sébastien Lorber
fd2934d10d
getMainDocId should return doc with both versioned or unversioned id (#6085) 2021-12-10 09:35:57 -08:00
Sébastien Lorber
ae9a12ff50
chore(v2): prepare v2.0.0-beta.13 release (#6084) 2021-12-10 16:56:00 +01:00
Joshua Chen
4809a1aab1
chore: add NPM and PNPM to E2E tests (#6080)
* chore: add NPM and PNPM to E2E tests

* Align node versions

* Install PNPM

* Fix options

Maybe fix

Fix
2021-12-10 22:04:05 +08:00
Sébastien Lorber
991c1b2832
chore(v2): prepare v2.0.0-beta.11 release (#6081) 2021-12-10 14:13:25 +01:00
Pranab Das
fbf04ed556
fix: move docusaurus core back to hard dependencies (#6078)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-10 11:05:21 +01:00
Sébastien Lorber
43ac7d5da9
chore(v2): prepare v2.0.0-beta.10 release (#6076) 2021-12-09 13:32:23 +01:00
Joshua Chen
fd966b5395
refactor: add blank lines below all copyright headers (#6071) 2021-12-09 11:53:46 +08:00
Robin Métral
9433dcbe60
fix(theme-classic): make nav dropdowns focusable (#6003)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-08 18:50:39 +01:00
Sébastien Lorber
f5a404b877
fix(theme-common): useLocationChange fire un-necessarily twice (#6070) 2021-12-08 16:38:34 +01:00
Soham Shah
3394f7e91f
docs: add moja global to showcase (#6063)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-08 14:51:32 +01:00
Joshua Chen
e07ebadf6c
fix: make Docusaurus PnP strict mode compatible (#6047)
Co-authored-by: Kristoffer K. <merceyz@users.noreply.github.com>
2021-12-08 14:26:24 +01:00
Alexey Pyltsyn
68b75bf855
refactor: capitalize locales when creating i18n config (#6048)
* refactor: capitalize locales when creating i18n config

* Switch to toLocaleUpperCase method

* Update packages/docusaurus/src/server/i18n.ts

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

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-08 21:04:28 +08:00
Joshua Chen
35d3c02357
docs: update CONTRIBUTING for website (#6069)
* docs: update CONTRIBUTING for website

* Remove id

* Fix link
2021-12-08 20:24:44 +08:00
Joshua Chen
59f81e6490
fix(core): fix error boundary import disrupting CSS order (#6052) 2021-12-08 11:13:43 +01:00
Yongmin Hong
813300b9fe
feat(theme-translations): add extra Korean translation, fix typo (#5976)
* Add extra Korean translation, fix typo

Signed-off-by: Yongmin Hong <revi@pobox.com>

* Add missing translations, per John-Cena's guidance

Resolves most comments, more fix.

Signed-off-by: Yongmin Hong <revi@pobox.com>

* Cleanup rebase and add one more translation

add the missing bit.

Signed-off-by: Yongmin Hong <revi@pobox.com>
2021-12-08 09:38:09 +08:00
Joshua Chen
8644097ab7
fix(content-blog): make post ID unique (#6061)
* fix(content-blog): make post ID unique

* Fixes
2021-12-08 09:28:17 +08:00
Joshua Chen
d5d10f5656
chore: add prefix to needs triage label; separate Windows test workflow (#6068)
* chore: add status prefix to needs triage label

* Separate Windows workflow
2021-12-08 09:23:47 +08:00
Joshua Chen
b4ec7ec011
refactor(core): fix types for client code (#6064) 2021-12-07 19:58:36 +01:00
Alexey Pyltsyn
f96a051fbe
refactor: remove deprecated docs homePageId option (#6065) 2021-12-07 19:48:30 +01:00
Soham Shah
c64987e2c8
refactor(website): improve wording in comments of showcase data (#6062)
* typo in comments

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-07 20:11:46 +08:00
Joshua Chen
7c43569468
chore(theme-translations): complete Chinese translations (#6060) 2021-12-07 19:15:16 +08:00
Alexey Pyltsyn
283166c211
refactor: remove unused metadata field for homepage (#6056) 2021-12-06 12:28:35 +08:00
Joshua Chen
fb6393fdce
chore: clean up dev dependency declarations (#6055)
* chore: clean up dev dependency declarations

* Fix prettier version
2021-12-05 23:07:34 +08:00