Create a documentation intro page

This commit is contained in:
Kristofer Selbekk
2018-10-07 20:18:17 +02:00
parent 4f62437cb7
commit 678ef7609e
4 changed files with 13 additions and 4 deletions

View 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.

View File

@@ -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)

View File

@@ -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>

View File

@@ -1,5 +1,8 @@
{
"docs": {
"Welcome": [
"documentation-intro"
],
"Getting Started": [
"getting-started",
"folder-structure",