mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-08 13:52:36 +02:00
feat(v2): add help page (#1835)
This commit is contained in:
parent
82946df0f5
commit
a059e17c6c
2 changed files with 124 additions and 0 deletions
|
@ -92,6 +92,10 @@ module.exports = {
|
||||||
label: 'Installation',
|
label: 'Installation',
|
||||||
to: 'docs/installation',
|
to: 'docs/installation',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Migration from v1 to v2',
|
||||||
|
to: 'docs/migration-from-v1-to-v2',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -109,6 +113,10 @@ module.exports = {
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: 'https://discordapp.com/invite/docusaurus',
|
href: 'https://discordapp.com/invite/docusaurus',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Help',
|
||||||
|
to: 'help',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
116
website/src/pages/help.js
Normal file
116
website/src/pages/help.js
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
/**
|
||||||
|
* Copyright (c) 2017-present, Facebook, Inc.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the MIT license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import React, {useEffect} from 'react';
|
||||||
|
import Layout from '@theme/Layout';
|
||||||
|
|
||||||
|
import Link from '@docusaurus/Link';
|
||||||
|
import withBaseUrl from '@docusaurus/withBaseUrl';
|
||||||
|
|
||||||
|
function Help() {
|
||||||
|
return (
|
||||||
|
<Layout permalink="/help" description="Docusaurus 2 Help page">
|
||||||
|
<div className="container margin-vert--xl">
|
||||||
|
<div className="text--center margin-bottom--xl">
|
||||||
|
<h1>Need Help?</h1>
|
||||||
|
<p>
|
||||||
|
If you need help with Docusaurus 2, you can try one of the
|
||||||
|
mechanisms below.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="row">
|
||||||
|
<div className="col">
|
||||||
|
<h2>Browse the docs</h2>
|
||||||
|
<p>
|
||||||
|
Learn more about Docusaurus using the{' '}
|
||||||
|
<Link to={withBaseUrl('docs/introduction')}>
|
||||||
|
official documentation
|
||||||
|
</Link>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="col">
|
||||||
|
<h2>Discord</h2>
|
||||||
|
<p>
|
||||||
|
You can join the conversation on{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://discord.gg/docusaurus">
|
||||||
|
Discord
|
||||||
|
</a>{' '}
|
||||||
|
on one of our two text channels:{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://discord.gg/7wjJ9yH">
|
||||||
|
#docusaurus-2-dogfooding
|
||||||
|
</a>{' '}
|
||||||
|
for user help and{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://discord.gg/6g6ASPA">
|
||||||
|
#docusaurus-2-dev
|
||||||
|
</a>{' '}
|
||||||
|
for contributing help.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="col">
|
||||||
|
<h2>Twitter</h2>
|
||||||
|
<p>
|
||||||
|
You can follow and contact us on{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://twitter.com/docusaurus">
|
||||||
|
Twitter
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="col">
|
||||||
|
<h2>GitHub</h2>
|
||||||
|
<p>
|
||||||
|
At our{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://github.com/facebook/docusaurus">
|
||||||
|
GitHub repo
|
||||||
|
</a>{' '}
|
||||||
|
Browse and submit{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://github.com/facebook/docusaurus/issues">
|
||||||
|
issues
|
||||||
|
</a>{' '}
|
||||||
|
or{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://github.com/facebook/docusaurus/pulls">
|
||||||
|
pull requests
|
||||||
|
</a>{' '}
|
||||||
|
for bugs you find or any new features you may want implemented. Be
|
||||||
|
sure to also check out our{' '}
|
||||||
|
<a
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer noopener"
|
||||||
|
href="https://github.com/facebook/docusaurus/blob/master/CONTRIBUTING.md">
|
||||||
|
contributing guide
|
||||||
|
</a>
|
||||||
|
.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Layout>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Help;
|
Loading…
Add table
Add a link
Reference in a new issue