Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SoMe links to documentation #5251

Merged
merged 6 commits into from
Oct 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions docusaurus/website/core/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,21 @@ class Footer extends React.Component {
<div>
<h5>Community</h5>
<a
href="http://stackoverflow.com/questions/tagged/"
href="https://stackoverflow.com/questions/tagged/create-react-app"
target="_blank"
rel="noreferrer noopener"
>
Stack Overflow
</a>
<a href="https://discordapp.com/">Project Chat</a>
<a
href="https://spectrum.chat/react"
target="_blank"
rel="noreferrer noopener"
>
Spectrum
</a>
<a
href="https://twitter.com/"
href="https://twitter.com/reactjs"
target="_blank"
rel="noreferrer noopener"
>
Expand All @@ -64,12 +70,12 @@ class Footer extends React.Component {
</div>
<div>
<h5>More</h5>
<a href="https://github.com/">GitHub</a>
<a href="https://github.com/facebook/create-react-app">GitHub</a>
<a
className="github-button"
href={this.props.config.repoUrl}
data-icon="octicon-star"
data-count-href="/facebook/docusaurus/stargazers"
data-count-href="/facebook/create-react-app/stargazers"
data-show-count="true"
data-count-aria-label="# stargazers on GitHub"
aria-label="Star this project on GitHub"
Expand Down
3 changes: 2 additions & 1 deletion docusaurus/website/siteConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const siteConfig = {
headerLinks: [
{ doc: 'getting-started', label: 'Getting started' },
{ href: 'https://reactjs.org/community/support.html', label: 'Help' },
{ href: 'https://github.com/facebook/create-react-app', label: 'GitHub' },
],

/* path to images for header/footer */
Expand Down Expand Up @@ -77,7 +78,7 @@ const siteConfig = {

// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
// repoUrl: 'https://github.com/facebook/test-site',
repoUrl: 'https://github.com/facebook/create-react-app',
};

module.exports = siteConfig;