mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
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:
parent
f34d6ec4cb
commit
5d6dc49bcd
35 changed files with 443 additions and 63 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue