Joshua Chen
abdcad7316
feat: update website & init template palette to pass WCAG test; include contrast check in ColorGenerator ( #5822 )
...
* docs: update website palette to pass WCAG test
* Darker palette in light mode
* Fix CodeBlock
* Fix front page
* Fix announcement color
* Unify primary color
* Add contrast check in website
* Fix color input not updating
* Use website for preview; allow changing background
* Persist in localStorage
* Fixes
* Fix SSR
* Edit dark mode separately
* Fix light mode palette
* Fix storage reset
* Fix CSS
* Fix
* fix toggling when not on styling-layout
* require 100% lighthouse accessibility score
* use sessionStorage
* refactor
* tweak light color
* update comments
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-01-20 14:51:18 +08:00
Yaroslav Serhieiev
d296f44031
docs(i18n): amend PR #6371 ( #6406 )
2022-01-19 18:19:41 +01:00
Joshua Chen
2cace21083
docs: update Algolia docs for new DocSearch infra ( #6393 )
2022-01-19 16:42:08 +01:00
Joshua Chen
45f1b819b5
feat(content-docs): displayed_sidebar front matter ( #5782 )
2022-01-19 16:00:42 +01:00
Joshua Chen
6c0da3ee4b
refactor: clean up TODO comments ( #6399 )
2022-01-19 12:10:50 +08:00
Joshua Chen
cb747025e8
docs: elaborate on different CSS class names ( #6383 )
2022-01-17 16:37:59 +08:00
Nick Schonning
9f9a96dc80
chore: upgrade lint-staged and globs ( #6369 )
2022-01-15 16:33:09 +08:00
Pranab Das
99dbf1a121
docs: minor fix in the sample config for ESM ( #6340 )
...
The line `return config;` was left by mistake I guess. The function is already returning the `config` object.
2022-01-14 19:24:55 +08:00
Joshua Chen
ddfd154ad6
docs: make upgrade guide always show the latest version ( #6336 )
2022-01-14 10:42:48 +08:00
Pranab Das
4ebb1ca8c8
chore: upgrade rehype-katex with ESM support, update docs ( #6320 )
...
* chore: upgrade rehype-katex to latest version with ESM support and update the docs
* Update documentation to reflect ESM upgrade is currently optional
* rewording
* final tweaks
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-14 09:06:10 +08:00
Morooka Kotaro
4aaa48759d
docs: remove typo bracket ( #6327 )
...
* docs: remove typo bracket
* fix in latest version
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-13 15:13:50 +08:00
Nick Schonning
02a233a221
chore: minor typo cleanup ( #6324 )
...
* chore: minor typo cleanup
* fix tests
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-13 14:36:53 +08:00
Joshua Chen
217b62682d
feat(mdx-loader): preserve hash in image src; support GH themed images ( #6323 )
...
* feat(mdx-loader): preserve hash in image src; support GH themed images
* more refactor
2022-01-13 10:22:48 +08:00
Joshua Chen
984c73be30
feat(core): improve error message for BrowserOnly; better docs ( #6291 )
...
* feat(core): improve error message for BrowserOnly; better docs
* oops
* oops
* docs
2022-01-12 20:06:33 +08:00
Joshua Chen
db471d97ab
fix(website): various anchor link fixes ( #6318 )
2022-01-12 08:35:47 +08:00
Joshua Chen
ba352271e7
fix(website): wrap details in mdx-code-block ( #6308 )
2022-01-10 20:35:39 +08:00
Joshua Chen
c7da6f5dd3
docs: document MD and JSX interoperability issues ( #6307 )
2022-01-10 20:05:33 +08:00
Nayan Patel
52e097e2c1
docs: mention setup in monorepo ( #6297 )
...
* Add Monorepos
* elaborate
* elaborate
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-01-09 10:49:29 +08:00
Sébastien Lorber
f87a3ead46
refactor: move @theme/hooks to @docusaurus/theme-common ( #6289 )
2022-01-07 19:19:35 +01: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
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
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
78606fdda8
docs: make tsconfig work OOTB in typescript guide ( #6272 )
2022-01-06 07:33:58 +08:00
Joshua Chen
8fe1ddf46a
feat(sitemap): remove trailingSlash option; respect noIndex config ( #6248 )
2022-01-05 17:56:17 +01: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
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
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
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
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
Rishi Raj Jain
6716548b87
docs: add Layer0 to deployment guide ( #6188 )
2021-12-25 10:17:33 +08:00
John Reilly
a17deb6aa2
docs: remove mention of 'UA-' in gtag ( #6184 )
2021-12-24 17:21: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
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
Joshua Chen
dedf5ace5f
docs: normalize usage of placeholders ( #6142 )
2021-12-21 14:56:29 +01:00
Joshua Chen
287292497d
test: fix async tests resolved in random order ( #6143 )
2021-12-21 18:51:56 +08:00
Joshua Chen
9078fd9fb2
docs: refactor & refine lifecycle API docs ( #5918 )
...
* docs: refactor & refine lifecycle API docs
* Fix links
* More writeup
* Rewording
* Rename path
* Use README
* Fix links
* Add redirects
* Do the same for latest version as well
* Move folder
* Fix broken link
2021-12-21 14:54:04 +08:00
Christopher Klint
d987c22996
feat(theme-classic): new configuration syntax for a simple footer ( #6132 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2021-12-20 19:45:27 +01:00
Joshua Chen
cb4265253a
feat(theme-classic): standalone Admonition component ( #5848 )
2021-12-20 17:51:19 +01:00