You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2021/08/10 08:52:47 UTC
[incubator-eventmesh-site] 45/49: Add Docs tab and intro page
This is an automated email from the ASF dual-hosted git repository.
mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh-site.git
commit 9a73f8636e5e386df8cf054fd0ddaaa4ae6c22ea
Author: Xiaoyang Liu <si...@gmail.com>
AuthorDate: Thu Aug 5 18:01:42 2021 +0800
Add Docs tab and intro page
Signed-off-by: Xiaoyang Liu <si...@gmail.com>
---
docs/intro.md | 36 +-----------------------------------
docusaurus.config.js | 20 ++++++++++----------
2 files changed, 11 insertions(+), 45 deletions(-)
diff --git a/docs/intro.md b/docs/intro.md
index 03b6b8b..5364061 100644
--- a/docs/intro.md
+++ b/docs/intro.md
@@ -1,35 +1 @@
----
-sidebar_position: 1
----
-
-# Tutorial Intro
-
-Let's discover **Docusaurus in less than 5 minutes**.
-
-## Getting Started
-
-Get started by **creating a new site**.
-
-Or **try Docusaurus immediately** with **[new.docusaurus.io](https://new.docusaurus.io)**.
-
-## Generate a new site
-
-Generate a new Docusaurus site using the **classic template**:
-
-```shell
-npx @docusaurus/init@latest init my-website classic
-```
-
-## Start your site
-
-Run the development server:
-
-```shell
-cd my-website
-
-npx docusaurus start
-```
-
-Your site starts at `http://localhost:3000`.
-
-Open `docs/intro.md` and edit some lines: the site **reloads automatically** and display your changes.
+# Apache EventMesh (Incubating)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 84cf1f5..f0df9fb 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -44,16 +44,16 @@ module.exports = {
},
items: [
{
+ type: 'doc',
+ docId: 'intro',
+ position: 'left',
+ label: 'Docs',
+ },
+ {
to: '/blog',
label: 'Blog',
position: 'left',
},
- // {
- // type: 'doc',
- // docId: 'intro',
- // position: 'left',
- // label: 'Docs',
- // },
{
type: 'doc',
docsPluginId: 'events',
@@ -80,10 +80,10 @@ module.exports = {
{
title: 'EventMesh',
items: [
- // {
- // label: 'Documentation',
- // to: '/docs',
- // },
+ {
+ label: 'Documentation',
+ to: '/docs',
+ },
{
label: 'Events',
to: '/events',
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org