diff --git a/docs/en/next/tutorial-create-pages.html b/docs/en/next/tutorial-create-pages.html index b4d6b40524..e58d7038ed 100644 --- a/docs/en/next/tutorial-create-pages.html +++ b/docs/en/next/tutorial-create-pages.html @@ -120,12 +120,12 @@

Docusaurus React

Create a Documentation Page

    -
  1. Create a new file in the docs folder called doc4.md. The docs folder is in the root of your Docusaurus project, one level above website.
  2. +
  3. Create a new file in the docs folder called doc9.md. The docs folder is in the root of your Docusaurus project, one level above website.
  4. Paste the following contents:
---
-id: doc4
-title: This is Doc 4
+id: doc9
+title: This is Doc 9
 ---
 
 I can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/).
@@ -142,13 +142,13 @@ I can write content using [GitHub-flavored Markdown sy
 * Let's Go
 
    -
  1. The sidebars.json is where you specify the order of your documentation pages, so open website/sidebars.json and add "doc4" after "doc1". This ID should be the same one as in the metadata for the Markdown file above, so if you gave a different ID in Step 2, just make sure to use the same ID in the sidebar file.
  2. +
  3. The sidebars.json is where you specify the order of your documentation pages, so open website/sidebars.json and add "doc9" after "doc1". This ID should be the same one as in the metadata for the Markdown file above, so if you gave a different ID in Step 2, just make sure to use the same ID in the sidebar file.
{
   "docs": {
     "Docusaurus": [
       "doc1",
-+     "doc4"
++     "doc9"
     ],
     "First Category": ["doc2"],
     "Second Category": ["doc3"]
@@ -159,12 +159,12 @@ I can write content using [GitHub-flavored Markdown sy
 }
 
    -
  1. A server restart is needed to pick up sidebar changes, so kill your dev server (Cmd + C or Ctrl + C) and restart it with npm run start.
  2. -
  3. Navigate to http://localhost:3000/docs/doc4.
  4. +
  5. A server restart is needed to pick up sidebar changes, so go to your terminal, kill your dev server (Cmd + C or Ctrl + C), and run npm start or yarn start.
  6. +
  7. Navigate to http://localhost:3000/docs/doc9 to see the new documentation page.

You've created your first documentation page on Docusaurus!

Learn more about creating docs pages here.

-
Last updated on 2019-7-26 by Jay Martin
Create a New SitePublish the Site