docs: remove useless front matter (#7518)

This commit is contained in:
Joshua Chen 2022-05-28 19:07:45 +08:00 committed by GitHub
parent 432a8bd3e9
commit ab566ecce3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 143 additions and 118 deletions

View file

@ -1,10 +1,11 @@
---
id: create-doc
title: Create a doc
description: Create a Markdown Document
slug: /create-doc
---
# Create a doc
Create a Markdown file, `greeting.md`, and place it under the `docs` directory.
```bash

View file

@ -1,10 +1,11 @@
---
id: introduction
title: Docs Introduction
sidebar_label: Introduction
slug: /docs-introduction
---
# Docs Introduction
The docs feature provides users with a way to organize Markdown files in a hierarchical format.
:::info

View file

@ -1,10 +1,11 @@
---
id: multi-instance
title: Docs Multi-instance
description: Use multiple docs plugin instances on a single Docusaurus site.
slug: /docs-multi-instance
---
# Docs Multi-instance
The `@docusaurus/plugin-content-docs` plugin can support [multi-instance](../../using-plugins.md#multi-instance-plugins-and-plugin-ids).
:::note

View file

@ -1,16 +1,16 @@
---
id: versioning
title: Versioning
slug: /versioning
---
# Versioning
You can use the versioning CLI to create a new documentation version based on the latest content in the `docs` directory. That specific set of documentation will then be preserved and accessible even as the documentation in the `docs` directory continues to evolve.
```mdx-code-block
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
```
You can use the version script to create a new documentation version based on the latest content in the `docs` directory. That specific set of documentation will then be preserved and accessible even as the documentation in the `docs` directory changes moving forward.
:::caution
Think about it before starting to version your documentation - it can become difficult for contributors to help improve it!