mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 15:29:32 +02:00
docs: normalize capitalization (#7619)
This commit is contained in:
parent
aeb6c971c0
commit
e12a2efaeb
44 changed files with 99 additions and 99 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
"
|
||||
`;
|
||||
|
|
|
@ -10,7 +10,7 @@ tags:
|
|||
permalink: tag2-custom-permalink
|
||||
---
|
||||
|
||||
# Baz markdown title
|
||||
# Baz Markdown title
|
||||
|
||||
## Images
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
translated markdown page (fr)
|
||||
translated Markdown page (fr)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: mdx page
|
||||
description: my mdx page
|
||||
title: MDX page
|
||||
description: my MDX page
|
||||
---
|
||||
MDX page
|
||||
|
|
|
@ -1 +1 @@
|
|||
translated markdown page
|
||||
translated Markdown page
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue