From 2c2710fee596b4fcc64cc3743ca215c85e47a909 Mon Sep 17 00:00:00 2001 From: fuwn Date: Tue, 13 Apr 2021 02:47:41 +0000 Subject: =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Whirlsplash/site?= =?UTF-8?q?@93efb614740a2a903c6a76bad84ee1e035153248=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/tutorial/create-a-blog-post/index.html | 12 ++++++------ docs/tutorial/create-a-document/index.html | 12 ++++++------ docs/tutorial/create-a-page/index.html | 12 ++++++------ docs/tutorial/thank-you/index.html | 10 +++++----- 4 files changed, 23 insertions(+), 23 deletions(-) (limited to 'docs/tutorial') diff --git a/docs/tutorial/create-a-blog-post/index.html b/docs/tutorial/create-a-blog-post/index.html index 898042e..a9e0e01 100644 --- a/docs/tutorial/create-a-blog-post/index.html +++ b/docs/tutorial/create-a-blog-post/index.html @@ -8,8 +8,8 @@ Create a Blog Post | Whirlsplash - - + + @@ -21,12 +21,12 @@
-
Skip to main content

Create a Blog Post

This page will help you on how to create blog posts in Docusaurus.

Create a Blog Post#

Create a file at blog/2021-02-28-greetings.md:

blog/2021-02-28-greetings.md
---
title: Greetings!
author: Steven Hansel
author_title: Docusaurus Contributor
author_url: https://github.com/ShinteiMai
author_image_url: https://github.com/ShinteiMai.png
---
+

Create a Blog Post

This page will help you on how to create blog posts in Docusaurus.

Create a Blog Post#

Create a file at blog/2021-02-28-greetings.md:

blog/2021-02-28-greetings.md
---
title: Greetings!
author: Steven Hansel
author_title: Docusaurus Contributor
author_url: https://github.com/ShinteiMai
author_image_url: https://github.com/ShinteiMai.png
---
Congratulations, you have made your first post!
-
Feel free to play around and edit this post as much you like.

A new blog post is now available at http://localhost:3000/blog/greetings.

+
Feel free to play around and edit this post as much you like.

A new blog post is now available at http://localhost:3000/blog/greetings.

- - + + diff --git a/docs/tutorial/create-a-document/index.html b/docs/tutorial/create-a-document/index.html index ebb8ecc..24fd7ce 100644 --- a/docs/tutorial/create-a-document/index.html +++ b/docs/tutorial/create-a-document/index.html @@ -8,8 +8,8 @@ Create a Document | Whirlsplash - - + + @@ -21,12 +21,12 @@
-
Skip to main content

Create a Document

Documents are pages with a sidebar, a previous/next navigation and many other useful features.

Create a Document#

Create a markdown file at docs/my-doc.md:

docs/hello.md
---
title: Hello, World!
---
+

Create a Document

Documents are pages with a sidebar, a previous/next navigation and many other useful features.

Create a Document#

Create a markdown file at docs/my-doc.md:

docs/hello.md
---
title: Hello, World!
---
## Hello, World!
-
This is your first document in **Docusaurus**, Congratulations!

A new document is now available at http://localhost:3000/docs/hello.

Add your document to the sidebar#

Add hello to the sidebars.js file:

sidebars.js
module.exports = {
docs: [
{
type: 'category',
label: 'Docusaurus Tutorial',
- items: ['getting-started', 'create-a-doc', ...],
+ items: ['getting-started', 'create-a-doc', 'hello', ...],
},
],
};
+
This is your first document in **Docusaurus**, Congratulations!

A new document is now available at http://localhost:3000/docs/hello.

Add your document to the sidebar#

Add hello to the sidebars.js file:

sidebars.js
module.exports = {
docs: [
{
type: 'category',
label: 'Docusaurus Tutorial',
- items: ['getting-started', 'create-a-doc', ...],
+ items: ['getting-started', 'create-a-doc', 'hello', ...],
},
],
};
- - + + diff --git a/docs/tutorial/create-a-page/index.html b/docs/tutorial/create-a-page/index.html index 185d032..5ba46aa 100644 --- a/docs/tutorial/create-a-page/index.html +++ b/docs/tutorial/create-a-page/index.html @@ -8,8 +8,8 @@ Create a Page | Whirlsplash - - + + @@ -21,13 +21,13 @@
-
Skip to main content

Create a Page

Any React or Markdown file created under src/pages directory is converted into a website page:

  • src/pages/index.js -> localhost:3000/
  • src/pages/foo.md -> localhost:3000/foo
  • src/pages/foo/bar.js -> localhost:3000/foo/bar

Create a React Page#

Create a file at src/pages/my-react-page.js:

src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';
+

Create a Page

Any React or Markdown file created under src/pages directory is converted into a website page:

  • src/pages/index.js -> localhost:3000/
  • src/pages/foo.md -> localhost:3000/foo
  • src/pages/foo/bar.js -> localhost:3000/foo/bar

Create a React Page#

Create a file at src/pages/my-react-page.js:

src/pages/my-react-page.js
import React from 'react';
import Layout from '@theme/Layout';
function HelloWorld() {
return (
<Layout>
<h1>My React page</h1>
<p>This is a React page</p>
</Layout>
);
}

A new page is now available at http://localhost:3000/my-react-page.

Create a Markdown Page#

Create a file at src/pages/my-markdown-page.md:

src/pages/my-markdown-page.md
---
title: My Markdown page
---
# My Markdown page
-
This is a Markdown page

A new page is now available at http://localhost:3000/my-markdown-page.

+
This is a Markdown page

A new page is now available at http://localhost:3000/my-markdown-page.

- - + + diff --git a/docs/tutorial/thank-you/index.html b/docs/tutorial/thank-you/index.html index ca4f4c9..b7f1858 100644 --- a/docs/tutorial/thank-you/index.html +++ b/docs/tutorial/thank-you/index.html @@ -8,8 +8,8 @@ Thank you! | Whirlsplash - - + + @@ -21,10 +21,10 @@
-
Skip to main content
+
Skip to main content
- - + + -- cgit v1.2.3