From 611b93cf2917a3b9f99e323c7182118e8664384a Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 3 May 2019 02:57:24 +0000 Subject: [PATCH] Deploy website Deploy website version based on c84860d9fa872d519f6dda27bc48ebb546e7aa82 --- docs/en/next/tutorial-create-pages.html | 35 +++++++++++-------- docs/en/next/tutorial-create-pages/index.html | 35 +++++++++++-------- docs/es-ES/next/tutorial-create-pages.html | 33 ++++++++++------- .../next/tutorial-create-pages/index.html | 33 ++++++++++------- docs/ro/next/tutorial-create-pages.html | 33 ++++++++++------- docs/ro/next/tutorial-create-pages/index.html | 33 ++++++++++------- docs/tr/next/tutorial-create-pages.html | 33 ++++++++++------- docs/tr/next/tutorial-create-pages/index.html | 33 ++++++++++------- docs/zh-CN/next/tutorial-create-pages.html | 33 ++++++++++------- .../next/tutorial-create-pages/index.html | 33 ++++++++++------- 10 files changed, 210 insertions(+), 124 deletions(-) diff --git a/docs/en/next/tutorial-create-pages.html b/docs/en/next/tutorial-create-pages.html index 6d4c3d8489..2bc468c0d3 100644 --- a/docs/en/next/tutorial-create-pages.html +++ b/docs/en/next/tutorial-create-pages.html @@ -104,37 +104,44 @@
  1. Go to http://localhost:3000/hello-world and you should be able to see the new page.
  2. -
  3. Change the text within the <p>...</p> to "I'm at F8!". The browser should refresh automatically to reflect the changes.
  4. +
  5. Change the text within the <p>...</p> to "I can write JSX here!". The browser should refresh automatically to reflect the changes.
- <p>This is my first page!</p>
-+ <p>I'm at F8!</p>
++ <p>I can write JSX here!</p>
 

React is being used as a templating engine for rendering static markup. You can leverage on the expressability of React to build rich web content. Learn more about creating pages here.

Docusaurus React

Create a Documentation Page

    -
  1. Create a new file in the docs folder called f8.md.
  2. +
  3. Create a new file in the docs folder called doc4.md.
  4. Paste the following contents:
-
---
-id: f8
-title: Hello F8
----
+
---
+id: doc4
+title: This is Doc 4
+---
 
-Hello F8! I'm at the Docusaurus classroom session!
+I can write content using [GitHub-flavored Markdown syntax](https://github.github.com/gfm/).
 
-## Using Docusaurus to Create Open Source Websites
+## Markdown Syntax
 
-In this session, we learned how Docusaurus makes it really simple to create a website for open source project documentation and get hands on by creating a Docusaurus website.
+**Bold** _italic_ `code` [Links](#url)
+
+> Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse
+> id sem consectetuer libero luctus adipiscing.
+
+* Hey
+* Ho
+* Let's Go
 
    -
  1. Go to sidebars.json and add "f8" after "doc1". This ID should be the same one as in the Markdown file above.
  2. +
  3. Go to sidebars.json and add "doc4" after "doc1". This ID should be the same one as in the Markdown file above.
{
   "docs": {
     "Docusaurus": [
       "doc1",
-+     "f8"
++     "doc4"
     ],
     "First Category": ["doc2"],
     "Second Category": ["doc3"]
@@ -146,11 +153,11 @@
 
  1. Kill your webserver (Cmd + C or Ctrl + C) and restart it (with npm run start) because a server restart is needed for sidebar changes.
  2. -
  3. Navigate to http://localhost:3000/docs/f8.
  4. +
  5. Navigate to http://localhost:3000/docs/doc4.

You've created your first documentation page on Docusaurus! The sidebars.json is where you specify the order of your documentation pages and in the front matter of the Markdown file is where you provide metadata about that page.

Learn more about creating docs pages here.

-
Last updated on 2019-4-29 by Yangshun Tay