mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-14 09:37:37 +02:00
s/Github/GitHub (#608)
This commit is contained in:
parent
3a24606887
commit
7ea0f5a8cf
3 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@ At this point, you can grab all of the files inside the `website/build` folder a
|
||||||
|
|
||||||
### Hosting on a Service:
|
### Hosting on a Service:
|
||||||
|
|
||||||
* [Github Pages](#using-github-pages)
|
* [GitHub Pages](#using-github-pages)
|
||||||
* [Netlify](#hosting-on-netlify)
|
* [Netlify](#hosting-on-netlify)
|
||||||
|
|
||||||
### Using GitHub Pages
|
### Using GitHub Pages
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
const React = require("react");
|
const React = require("react");
|
||||||
|
|
||||||
const GithubButton = props => (
|
const GitHubButton = props => (
|
||||||
<a
|
<a
|
||||||
className="github-button" // part of the https://buttons.github.io/buttons.js script in siteConfig.js
|
className="github-button" // part of the https://buttons.github.io/buttons.js script in siteConfig.js
|
||||||
href={`https://github.com/${props.config.organizationName}/${props.config.projectName}`}
|
href={`https://github.com/${props.config.organizationName}/${props.config.projectName}`}
|
||||||
|
@ -21,7 +21,7 @@ const GithubButton = props => (
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
|
||||||
GithubButton.propTypes = {
|
GitHubButton.propTypes = {
|
||||||
config: React.PropTypes.object
|
config: React.PropTypes.object
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ class Footer extends React.Component {
|
||||||
<a href="https://github.com/facebook/docusaurus">
|
<a href="https://github.com/facebook/docusaurus">
|
||||||
GitHub
|
GitHub
|
||||||
</a>
|
</a>
|
||||||
<GithubButton config={this.props.config} />
|
<GitHubButton config={this.props.config} />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@ At this point, you can grab all of the files inside the `website/build` folder a
|
||||||
|
|
||||||
### Hosting on a Service:
|
### Hosting on a Service:
|
||||||
|
|
||||||
* [Github Pages](#using-github-pages)
|
* [GitHub Pages](#using-github-pages)
|
||||||
* [Netlify](#hosting-on-netlify)
|
* [Netlify](#hosting-on-netlify)
|
||||||
|
|
||||||
### Using GitHub Pages
|
### Using GitHub Pages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue