docs: normalize capitalization (#7619)

This commit is contained in:
Joshua Chen 2022-06-15 13:04:33 +08:00 committed by GitHub
parent aeb6c971c0
commit e12a2efaeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 99 additions and 99 deletions

View file

@ -12,7 +12,7 @@ Documents are **groups of pages** connected through:
## Create your first Doc
Create a markdown file at `docs/hello.md`:
Create a Markdown file at `docs/hello.md`:
```md title="docs/hello.md"
# Hello

View file

@ -38,6 +38,6 @@
[<span style={{color: "red"}}>Stylized link to asset file</span>](./asset.pdf)
[json](./data.json)
[JSON](./data.json)
[static json](/static-json.json)
[static JSON](/static-json.json)

View file

@ -50,8 +50,8 @@ exports[`transformAsset plugin transform md links to <a /> 1`] = `
<a target="_blank" href={require('!<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js?name=assets/files/[name]-[contenthash].[ext]!./asset.pdf').default}><span style={{color: "red"}}>Stylized link to asset file</span></a>
<a target="_blank" href={require('./data.raw!=!<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js?name=assets/files/[name]-[contenthash].[ext]!./data.json').default}>json</a>
<a target="_blank" href={require('./data.raw!=!<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js?name=assets/files/[name]-[contenthash].[ext]!./data.json').default}>JSON</a>
<a target="_blank" href={require('./static/static-json.raw!=!<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js?name=assets/files/[name]-[contenthash].[ext]!./static/static-json.json').default}>static json</a>
<a target="_blank" href={require('./static/static-json.raw!=!<PROJECT_ROOT>/node_modules/file-loader/dist/cjs.js?name=assets/files/[name]-[contenthash].[ext]!./static/static-json.json').default}>static JSON</a>
"
`;

View file

@ -10,7 +10,7 @@ tags:
permalink: tag2-custom-permalink
---
# Baz markdown title
# Baz Markdown title
## Images

View file

@ -1 +1 @@
translated markdown page (fr)
translated Markdown page (fr)

View file

@ -1,5 +1,5 @@
---
title: mdx page
description: my mdx page
title: MDX page
description: my MDX page
---
MDX page

View file

@ -1 +1 @@
translated markdown page
translated Markdown page

View file

@ -21,14 +21,14 @@ exports[`docusaurus-plugin-content-pages loads simple pages 1`] = `
"type": "mdx",
},
{
"description": "my mdx page",
"description": "my MDX page",
"frontMatter": {
"description": "my mdx page",
"title": "mdx page",
"description": "my MDX page",
"title": "MDX page",
},
"permalink": "/hello/mdxPage",
"source": "@site/src/pages/hello/mdxPage.mdx",
"title": "mdx page",
"title": "MDX page",
"type": "mdx",
},
{
@ -37,7 +37,7 @@ exports[`docusaurus-plugin-content-pages loads simple pages 1`] = `
"type": "jsx",
},
{
"description": "translated markdown page",
"description": "translated Markdown page",
"frontMatter": {},
"permalink": "/hello/translatedMd",
"source": "@site/src/pages/hello/translatedMd.md",
@ -73,14 +73,14 @@ exports[`docusaurus-plugin-content-pages loads simple pages with french translat
"type": "mdx",
},
{
"description": "my mdx page",
"description": "my MDX page",
"frontMatter": {
"description": "my mdx page",
"title": "mdx page",
"description": "my MDX page",
"title": "MDX page",
},
"permalink": "/fr/hello/mdxPage",
"source": "@site/src/pages/hello/mdxPage.mdx",
"title": "mdx page",
"title": "MDX page",
"type": "mdx",
},
{
@ -89,7 +89,7 @@ exports[`docusaurus-plugin-content-pages loads simple pages with french translat
"type": "jsx",
},
{
"description": "translated markdown page (fr)",
"description": "translated Markdown page (fr)",
"frontMatter": {},
"permalink": "/fr/hello/translatedMd",
"source": "@site/i18n/fr/docusaurus-plugin-content-pages/hello/translatedMd.md",