docs(v2): add docs skeleton and structure (#1412)

* docs(v2): add docs skeleton and structure

* docs(v2): add on

* docs(v2): move motivation into contributing
This commit is contained in:
Yangshun Tay 2019-04-28 20:20:24 -07:00 committed by GitHub
parent f34d6ec4cb
commit 5d6dc49bcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 443 additions and 63 deletions

View file

@ -45,12 +45,6 @@ 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>

View file

@ -95,15 +95,6 @@ function Navbar(props) {
<Search {...props} />
</div>
)}
<div className="navbar__item">
<a
className="navbar__link"
href="https://github.com/facebook/docusaurus"
rel="noopener noreferrer"
target="_blank">
<i className="fab fa-github fa-lg" />
</a>
</div>
</div>
</div>
</nav>

View file

@ -36,7 +36,7 @@ function Sidebar(props) {
if (!linkMetadata) {
throw new Error(
`Improper sidebars.json file, document with id '${linkID}' not found.`,
`Improper sidebars file, document with id '${linkID}' not found.`,
);
}