refactor: capitalize comments (#7188)

* refactor: capitalize comments

* revert...
This commit is contained in:
Joshua Chen 2022-04-17 16:39:11 +08:00 committed by GitHub
parent 200009008b
commit fa1ce230ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
99 changed files with 241 additions and 350 deletions

View file

@ -170,8 +170,8 @@ const config = {
({
fromExtensions: ['html'],
createRedirects(routePath) {
// redirect to /docs from /docs/introduction,
// as introduction has been made the home doc
// Redirect to /docs from /docs/introduction, as introduction has been
// made the home doc
if (allDocHomesPaths.includes(routePath)) {
return [`${routePath}/introduction`];
}
@ -195,13 +195,15 @@ const config = {
],
[
'ideal-image',
{
/** @type {import('@docusaurus/plugin-ideal-image').PluginOptions} */
({
quality: 70,
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
// disableInDev: false,
},
max: 1030,
min: 640,
steps: 2,
// Use false to debug, but it incurs huge perf costs
disableInDev: true,
}),
],
[
'pwa',
@ -413,7 +415,7 @@ const config = {
label: 'Tests',
docsPluginId: 'docs-tests',
},
// right
// Right
{
type: 'docsVersionDropdown',
position: 'right',