mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 19:57:25 +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
|
||||
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.
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
id: getting-started
|
||||
title: Docusaurus
|
||||
layout: docs
|
||||
category: Docusaurus
|
||||
permalink: docs/en/getting-started.html
|
||||
next: site-config
|
||||
---
|
||||
|
||||
## Getting Started
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
id: search
|
||||
title: Documentation Search
|
||||
layout: docs
|
||||
category: Docusaurus
|
||||
permalink: docs/en/search.html
|
||||
previous: translation
|
||||
---
|
||||
|
||||
## Algolia Search Integration
|
|
@ -1,11 +1,6 @@
|
|||
---
|
||||
id: site-config
|
||||
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.
|
|
@ -1,11 +1,6 @@
|
|||
---
|
||||
id: translation
|
||||
title: Translations with Docusaurus
|
||||
layout: docs
|
||||
category: Docusaurus
|
||||
permalink: docs/en/translation.html
|
||||
previous: doc-markdown
|
||||
next: search
|
||||
---
|
||||
|
||||
## 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: [
|
||||
{
|
||||
section: "docs",
|
||||
href: "/docusaurus/docs/LANGUAGE/getting-started.html",
|
||||
href: "/docusaurus/docs/getting-started.html",
|
||||
text: "Docs"
|
||||
},
|
||||
{ section: "help", href: "/docusaurus/LANGUAGE/help.html", text: "Help" }
|
||||
|
|
Loading…
Add table
Reference in a new issue