mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 00:18:13 +08:00
Create a documentation intro page
This commit is contained in:
7
docusaurus/docs/documentation-intro.md
Normal file
7
docusaurus/docs/documentation-intro.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
id: documentation-intro
|
||||
title: Welcome to the Documentation
|
||||
sidebar_label: About the docs
|
||||
---
|
||||
|
||||
Please navigate via the table of content for finding what you are looking for.
|
||||
@@ -37,8 +37,8 @@ class Footer extends React.Component {
|
||||
<a href={this.docUrl('getting-started', this.props.language)}>
|
||||
Getting Started
|
||||
</a>
|
||||
<a href={this.docUrl('user-guide', this.props.language)}>
|
||||
User Guide
|
||||
<a href={this.docUrl('documentation-intro', this.props.language)}>
|
||||
Documentation
|
||||
</a>
|
||||
<a href={this.docUrl('doc3.html', this.props.language)}>
|
||||
API Reference (or other categories)
|
||||
|
||||
@@ -81,11 +81,10 @@ class HomeSplash extends React.Component {
|
||||
<div className="inner">
|
||||
<ProjectTitle />
|
||||
<PromoSection>
|
||||
<Button href="#try">Try It Out</Button>
|
||||
<Button href={docUrl('getting-started', language)}>
|
||||
Get started
|
||||
</Button>
|
||||
<Button href={docUrl('available-scripts', language)}>Documentation</Button>
|
||||
<Button href={docUrl('documentation-intro', language)}>Documentation</Button>
|
||||
</PromoSection>
|
||||
</div>
|
||||
</SplashContainer>
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"docs": {
|
||||
"Welcome": [
|
||||
"documentation-intro"
|
||||
],
|
||||
"Getting Started": [
|
||||
"getting-started",
|
||||
"folder-structure",
|
||||
|
||||
Reference in New Issue
Block a user