Commit graph

4379 commits

Author SHA1 Message Date
Joshua Chen
4fad1ce0cd
misc: convert all internal scripts to ESM (#6286)
* misc: convert all internal scripts to ESM

* fixes

* fix

* fixes

* fix!

* complete eslint

* more move

* fix!

* This looks better?

* Final ones
2022-01-08 12:59:28 +08:00
Josh Goldberg
bcc05e243f
fix(theme-classic): add missing role=region to SkipToContent (#6288) 2022-01-07 19:31:05 +01:00
Sébastien Lorber
f87a3ead46
refactor: move @theme/hooks to @docusaurus/theme-common (#6289) 2022-01-07 19:19:35 +01:00
Sébastien Lorber
024f2bf49b
refactor: new @docusaurus/plugin-content-docs/client interface (#6287) 2022-01-07 17:04:21 +01:00
Sébastien Lorber
3bc63b2b09
refactor(theme-classic): apply import/no-named-export eslint rule (#6283) 2022-01-07 14:44:55 +01:00
Nayan Patel
1c7b0d1353
docs: update showcase images; remove GraphQL Code Generator site (#6231)
* Showcase: Update images

* Showcase: Remove sites that are not working, and have not been working since yesterday.

* Suspected no longer using docusaurus (please confirm)

* Revert "Showcase: Remove sites that are not working, and have not been working since yesterday."

This reverts commit c963f120e9.

* add notices

* test screen resolution

* all of them

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 16:35:46 +08:00
Joshua Chen
e4eaac07f2
refactor(website): further optimize showcase images (#6285) 2022-01-07 15:41:08 +08:00
Abdelrahman Ahmed
32a24e4edd
docs: Add kwatch to showcase (#6281)
* Add kwatch to showcase

* remove trailing whitespace in description

* fix preview extension

* resize

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 14:53:45 +08:00
Joshua Chen
06a8cdcb0f
docs: elaborate on doc versioning (#6280)
* docs: elaborate on doc versioning

* Complete

* fix
2022-01-07 14:28:48 +08:00
Armano
4578b8b4c4
fix(website): resize showcase images, tighten CI check (#6043)
* fix(website): resize images to width 640

* revert changes first...

* resize images

* final changes

* Add to CI

* refactor tests

* Fix script

* fix script

* Final fixes

* Oops

* relax

* fix

* crop

* Optimize

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-07 14:03:43 +08:00
Joshua Chen
37a84f86a5
fix(preset-classic): throw if preset finds GA options in theme config (#6284)
* fix(preset-classic): throw if preset finds GA options in theme config

* revert

* stricter
2022-01-07 12:50:45 +08:00
Vaibhav Shinde
e231359f84
docs: add dyte docs to showcase (#6274)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-06 18:33:37 +01:00
Alexandru Grigoras
66c0c54dc5
docs: add Khyron Realm to showcase (#6278) 2022-01-06 16:15:30 +01:00
Reece Dunham
c08e247b56
refactor(core): use native types from webpack-dev-server (#6279)
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-01-06 23:05:03 +08:00
Joshua Chen
edab7e07ed
refactor(content-docs): make readVersionsMetadata async (#6277)
* refactor(content-docs): make readVersionsMetadata async

* fix tests
2022-01-06 21:46:08 +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
Amir M. Mohamadi
4efdd33df9
docs: add FlatifyCSS to showcase (#6271)
* Update users.tsx

* Update website/src/data/users.tsx

* add image

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-06 19:50:28 +08:00
Joshua Chen
a03788374e
fix(website): fix config-tabs breaking after translation (#6275)
* fix(website): fix config-tabs breaking after translation

* more robust
2022-01-06 19:31:58 +08:00
Minh Pham
eade41a702
feat(theme-classic): new navbar item linking to a sidebar (#6139)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-06 11:52:25 +01:00
Joshua Chen
3cb99124de
feat(content-docs): allow SEO metadata for category index pages (#6239) 2022-01-06 11:31:01 +01:00
Lars Mikkelsen
e1d1618039
docs: add Ionic to showcase (#6269)
* docs: add Ionic to showcase

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-06 12:33:56 +08:00
Joshua Chen
78606fdda8
docs: make tsconfig work OOTB in typescript guide (#6272) 2022-01-06 07:33:58 +08:00
Joshua Chen
b0c23275f3
refactor(theme-classic): use front matter from metadata for BlogPostPage (#6240) 2022-01-05 18:55:04 +01:00
Joshua Chen
8fe1ddf46a
feat(sitemap): remove trailingSlash option; respect noIndex config (#6248) 2022-01-05 17:56:17 +01:00
Joshua Chen
37b70e3ab4
refactor(core): convert serverEntry.js to TS (#6237)
* refactor(core): convert serverEntry.js to TS

* fix

* migrate template to TS

* Move templates
2022-01-05 21:34:24 +08:00
久染 | JiuRan
e86fd23c31
docs: add Eric JiuRan's blog to showcase (#6265)
* update userList

* update userList

* Update website/src/data/users.tsx

Co-authored-by: tongsiyuan <tongsiyuan@corp.netease.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-05 17:32:47 +08:00
Joshua Chen
9f0809ae28
fix(content-blog): always convert front matter date as UTC (#6244) 2022-01-02 12:47:23 +08:00
Vandré Leal
51d391a072
docs(showcase): update oxidizer website url (#6242) 2022-01-02 08:54:11 +08:00
Joshua Chen
cb1aa30286
refactor: enforce type import specifiers (#6230)
* refactor: enforce type import specifiers

* fix

* Upgrade esbuild

* Fix (haha)
2021-12-31 21:17:09 +08:00
Joshua Chen
24d65d9bdd
refactor(utils): reorganize functions; move authors file resolution to utils (#6229)
* refactor(utils): reorganize functions; move authors file resolution to utils

* More refactor
2021-12-31 11:55:42 +08:00
Sébastien Lorber
7adc1c0cdb
test: ensure consistent CSS ordering (#6222) 2021-12-30 14:26:26 +01:00
Nayan Patel
c45d9c6a89
docs: update showcase data for digital support notes (#6226) 2021-12-30 17:37:46 +08:00
Joshua Chen
218789f85e
refactor(theme-translations): improve typing for update script (#6225)
* refactor(theme-translations): improve typing for update script

* Remove
2021-12-30 17:28:57 +08:00
Joshua Chen
83fbdb0037
docs: add TalentBrick to showcase (#6224)
* docs: add TalentBrick to showcase

* Update users.tsx
2021-12-30 11:50:23 +08:00
Joshua Chen
4872decb42
docs: normalize CodeBlock highlighting (#6223) 2021-12-30 10:51:00 +08:00
Joshua Chen
c45281a581
feat(theme-classic): usable CodeBlock outside markdown (#6216) 2021-12-29 17:17:09 +01:00
Joshua Chen
96dbb8e7ef
feat(website): improve prism themes (#6214)
* feat(website): modify Prism dark theme

* update

* Use vsDark

* update crowdin config

* fix light theme as well

* revert comment changes
2021-12-29 21:25:01 +08:00
Joshua Chen
ae9f43fbc0
refactor(theme-classic): extract common PaginatorNavLink component (#6213) 2021-12-29 12:44:08 +01:00
Joshua Chen
0fa091a0c2
docs: use BrowserWindow for Markdown demos (#6215) 2021-12-29 13:49:09 +08:00
Joshua Chen
5132ecdeee
docs: normalize plugin API documentation (#6193)
* docs: normalize plugin API documentation

* Revert change

* Use remark plugin

* edits

* edit again

* Fixes
2021-12-28 21:23:27 +08:00
Joshua Chen
e067ce7ab5
feat(ideal-image): allow translating status messages (#6173)
* feat(ideal-image): allow translating ideal image messages

* Add source notice

* Add note

* Revert update translation changes

* Actually return default translations

* Fixes

* Update index.ts
2021-12-28 21:10:20 +08:00
Joshua Chen
9a783ef232
misc(theme-translations): multiple improvements to the update CLI (#6174) 2021-12-28 13:29:39 +01:00
Joshua Chen
d70379b5ad
docs: elaborate on static asset resolution (#6209) 2021-12-28 18:21:39 +08:00
Joshua Chen
6a772828c5
docs: add default value for BrowserWindow URL field (#6207)
* docs: fix BrowserWindow URL field

* fix
2021-12-28 15:19:23 +08:00
Joshua Chen
c8fad02029
docs: fix highlighting of YAML front matter (#6206) 2021-12-28 13:19:08 +08:00
Joshua Chen
4f2330a824
docs: recommend highlighting with comments than number range (#6204)
* docs: recommend highlighting with comments than number range

* quick fix
2021-12-28 10:55:24 +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
3195e7feed
fix(content-docs): quotify path when retrieving git history (#6202)
* fix(content-docs): quotify path when retrieving git history

* Enable last update in dogfooding
2021-12-27 17:27:48 +08:00
Nayan Patel
7fcadd0c36
docs: make installation guide more beginner-friendly (#6187)
* Add support for beginners

* Add files via upload

* Update intro.md

* Update intro.md

* Update intro.md

* Update intro.md

* Update intro.md

* Edits

* Edits

* Last nits

* Edit

* Update installation.md

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-26 19:29:47 +08:00
Joshua Chen
c7e6409add
fix(cli): quotify temp path in deploy command (#6197) 2021-12-26 11:25:24 +08:00