chore(v2): add tbd v2 docs (#1408)

* docs(v2): docusaurus 2 own docs

* misc(v2): try to get multiple sidebar working

* misc(v2): tweak CSS

* fix(v2): fix conflicting docsMetadata
This commit is contained in:
Endi 2019-04-28 23:43:40 +07:00 committed by Yangshun Tay
parent 9c27884823
commit 528bd7f280
7 changed files with 76 additions and 26 deletions

View file

@ -45,6 +45,12 @@ function DocBody(props) {
<div className="container margin-vert--lg">
<div className="row">
<div className="col col--8">
{/* TODO: remove this in the future */}
<div className="alert alert--warning" role="alert">
Docusaurus 2 is still <strong>work in progress</strong>. Do not
use it in production yet!
</div>
<br />
<header>
<h1 className="margin-bottom--lg">{metadata.title}</h1>
</header>