Commit graph

4806 commits

Author SHA1 Message Date
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
Joshua Chen
2cc89e502f
feat(content-blog): include front matter in loaded content metadata (#6189)
* feat(content-blog): include front matter in metadata

* fixes
2021-12-26 11:24:24 +08:00
Joshua Chen
e1bff072fe
feat(ideal-image): new option disableInDev (#6155)
* feat(ideal-image): new option disableInDev

* Add docs

* Use import type

* More docs
2021-12-25 21:48:38 +08:00
Joshua Chen
8cd593379c
docs: fix react live scope button color in dark mode (#6191) 2021-12-25 16:50:14 +08:00
Joshua Chen
3889e89380
fix(theme-classic): make React elements in pre render correctly (#6177)
* fix(theme-classic): make React elements in pre render correctly

* Properly fix

* Use MDX

* Add docs

* Better comment

* Update code-block-tests.mdx
2021-12-25 15:27:29 +08:00
Joshua Chen
f02fefb5b7
fix(utils): properly escape Windows paths (#6190)
* fix(utils): properly escape Windows paths

* Use in more places

* Escape path in test

* Fix snapshot

* Better comment

* Fix tests
2021-12-25 15:24:21 +08:00
Rishi Raj Jain
6716548b87
docs: add Layer0 to deployment guide (#6188) 2021-12-25 10:17:33 +08:00
Joshua Chen
1460f867d0
refactor: print trailing new line when outputting JSON (#6186)
* refactor(core): print trailing new line when writing translation

* Print these as well
2021-12-24 22:11:35 +08:00
John Reilly
a17deb6aa2
docs: remove mention of 'UA-' in gtag (#6184) 2021-12-24 17:21:31 +08:00
Brendan Nee
13056ea57c
docs: add GTFS-to-HTML to showcase (#6181)
* Add GTFS-to-HTML to showcase

* add gtfs-to-html.png to showcase

* Update website/src/data/users.tsx

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-24 10:05:35 +08:00
Nayan Patel
866f67afb1
docs: add Digital Support Notes to showcase (#6178)
* Add Digital Support Notes to the showcase

Add Digital Support Notes to the showcase!

* Update users.tsx

* Add Digital Support notes to showcase

* Update screenshot

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-24 10:03:31 +08:00
Pranab Das
e4f9ab072c
chore: upgrade rehype-katex and katex stylesheet for website (#6172)
* chore: Update rehype-katex and katex stylesheet for doc website

* Reformat

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-23 14:24:56 +08:00
ruanqizhen
70fe211362
docs: add LabVIEW coding experience to showcase (#6170)
* Add files via upload

* Update users.tsx

* Update website/src/data/users.tsx

* Update screenshot

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2021-12-23 11:11:07 +08:00
mcallisto
4122c75d57
feat(theme-translations): add Italian translations (#6169)
* Created it dir files

* Italian translations
2021-12-23 08:30:43 +08:00
Sébastien Lorber
8f8aa65446
fix(core): update webpack-dev-server + fix deprecation warning (#6168) 2021-12-22 20:05:14 +01:00
Sébastien Lorber
b393700a61
feat: async plugin creator functions (#6166) 2021-12-22 19:10:49 +01:00
Sébastien Lorber
f8a670966e
feat(core): async docusaurus.config.js creator function (#6165) 2021-12-22 17:03:01 +01:00
Joshua Chen
5dcfa8fa23
docs: fix import module name of theme/Admonition (#6164) 2021-12-22 22:11:11 +08:00
Jake Witz
8791fd65af
docs: add Astronomer to showcase (#6158)
* Add Astronomer to Docusaurus showcase

* Add screenshot for Astronomer showcase

* Update website/src/data/users.tsx

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

* New photo

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2021-12-22 20:39:00 +08:00
Sébastien Lorber
fb7e98a345
docs: remove useless comment (#6159) 2021-12-22 12:52:40 +01:00
Sébastien Lorber
f22eb95194
chore(examples): update examples to 2.0.0-beta.14 (#6148) 2021-12-21 17:49:39 +01:00
Sébastien Lorber
01b407011a
chore(v2): prepare v2.0.0-beta.14 release (#6147) 2021-12-21 17:15:04 +01:00
Joshua Chen
cc0a439e12
fix(migrate): do not modify non-MD files (#6146)
* fix(migrate): do not modify non-MD files

* Little refactor
2021-12-21 22:58:03 +08:00
Yaroslav Serhieiev
9d95d786fa
feat(theme-classic): allow stylizing doc paginator arrows (#6053)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-21 15:55:24 +01:00