Update website setup for new API

This commit is contained in:
Frank Li 2017-08-07 10:34:53 -07:00
parent 63e3e31117
commit b71ef8c0f1
7 changed files with 12 additions and 24 deletions

View file

@ -1,11 +1,6 @@
--- ---
id: doc-markdown id: doc-markdown
title: Documentation Markdown Features title: Documentation Markdown Features
layout: docs
category: Docusaurus
permalink: docs/en/doc-markdown.html
previous: site-config
next: translation
--- ---
Docusaurus supports some extra features when writing documentation in markdown. Docusaurus supports some extra features when writing documentation in markdown.

View file

@ -1,10 +1,6 @@
--- ---
id: getting-started id: getting-started
title: Docusaurus title: Docusaurus
layout: docs
category: Docusaurus
permalink: docs/en/getting-started.html
next: site-config
--- ---
## Getting Started ## Getting Started

View file

@ -1,10 +1,6 @@
--- ---
id: search id: search
title: Documentation Search title: Documentation Search
layout: docs
category: Docusaurus
permalink: docs/en/search.html
previous: translation
--- ---
## Algolia Search Integration ## Algolia Search Integration

View file

@ -1,11 +1,6 @@
--- ---
id: site-config id: site-config
title: Customizing siteConfig title: Customizing siteConfig
layout: docs
category: Docusaurus
permalink: docs/en/site-config.html
previous: getting-started
next: doc-markdown
--- ---
A large part of site configuration is done by editing the `siteConfig.js` file. A large part of site configuration is done by editing the `siteConfig.js` file.

View file

@ -1,11 +1,6 @@
--- ---
id: translation id: translation
title: Translations with Docusaurus title: Translations with Docusaurus
layout: docs
category: Docusaurus
permalink: docs/en/translation.html
previous: doc-markdown
next: search
--- ---
## Overview ## Overview

11
website/sidebar.json Normal file
View file

@ -0,0 +1,11 @@
{
"docs": {
"Docusaurus": [
"getting-started",
"site-config",
"doc-markdown",
"translation",
"search"
]
}
}

View file

@ -29,7 +29,7 @@ const siteConfig = {
headerLinksInternal: [ headerLinksInternal: [
{ {
section: "docs", section: "docs",
href: "/docusaurus/docs/LANGUAGE/getting-started.html", href: "/docusaurus/docs/getting-started.html",
text: "Docs" text: "Docs"
}, },
{ section: "help", href: "/docusaurus/LANGUAGE/help.html", text: "Help" } { section: "help", href: "/docusaurus/LANGUAGE/help.html", text: "Help" }