mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 11:47:23 +02:00
Update website setup for new API
This commit is contained in:
parent
63e3e31117
commit
b71ef8c0f1
7 changed files with 12 additions and 24 deletions
|
@ -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.
|
|
@ -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
|
|
@ -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
|
|
@ -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.
|
|
@ -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
11
website/sidebar.json
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"docs": {
|
||||||
|
"Docusaurus": [
|
||||||
|
"getting-started",
|
||||||
|
"site-config",
|
||||||
|
"doc-markdown",
|
||||||
|
"translation",
|
||||||
|
"search"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
|
@ -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" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue