Skip to content

Commit c2a163a

Browse files
selbekkTimer
authored andcommitted
Add some links to documentation (#5251)
* Add GitHub link to header * Add GitHub link to footer * Add link to Stack Overflow * Add Twitter link * Add the repoUrl prop to the siteConfig * Switch out Discord with Spectrum
1 parent 4bda8f7 commit c2a163a

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

Diff for: docusaurus/website/core/Footer.js

+11-5
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,21 @@ class Footer extends React.Component {
4747
<div>
4848
<h5>Community</h5>
4949
<a
50-
href="http://stackoverflow.com/questions/tagged/"
50+
href="https://stackoverflow.com/questions/tagged/create-react-app"
5151
target="_blank"
5252
rel="noreferrer noopener"
5353
>
5454
Stack Overflow
5555
</a>
56-
<a href="https://discordapp.com/">Project Chat</a>
56+
<a
57+
href="https://spectrum.chat/react"
58+
target="_blank"
59+
rel="noreferrer noopener"
60+
>
61+
Spectrum
62+
</a>
5763
<a
58-
href="https://twitter.com/"
64+
href="https://twitter.com/reactjs"
5965
target="_blank"
6066
rel="noreferrer noopener"
6167
>
@@ -64,12 +70,12 @@ class Footer extends React.Component {
6470
</div>
6571
<div>
6672
<h5>More</h5>
67-
<a href="https://github.com/">GitHub</a>
73+
<a href="https://www.github.com/facebook/create-react-app">GitHub</a>
6874
<a
6975
className="github-button"
7076
href={this.props.config.repoUrl}
7177
data-icon="octicon-star"
72-
data-count-href="/facebook/docusaurus/stargazers"
78+
data-count-href="/facebook/create-react-app/stargazers"
7379
data-show-count="true"
7480
data-count-aria-label="# stargazers on GitHub"
7581
aria-label="Star this project on GitHub"

Diff for: docusaurus/website/siteConfig.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ const siteConfig = {
2828
headerLinks: [
2929
{ doc: 'getting-started', label: 'Getting started' },
3030
{ href: 'https://reactjs.org/community/support.html', label: 'Help' },
31+
{ href: 'https://www.github.com/facebook/create-react-app', label: 'GitHub' },
3132
],
3233

3334
/* path to images for header/footer */
@@ -77,7 +78,7 @@ const siteConfig = {
7778

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

8384
module.exports = siteConfig;

0 commit comments

Comments
 (0)