mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-13 17:17:28 +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:
|
||||
|
||||
* [Github Pages](#using-github-pages)
|
||||
* [GitHub Pages](#using-github-pages)
|
||||
* [Netlify](#hosting-on-netlify)
|
||||
|
||||
### Using GitHub Pages
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
const React = require("react");
|
||||
|
||||
const GithubButton = props => (
|
||||
const GitHubButton = props => (
|
||||
<a
|
||||
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}`}
|
||||
|
@ -21,7 +21,7 @@ const GithubButton = props => (
|
|||
</a>
|
||||
);
|
||||
|
||||
GithubButton.propTypes = {
|
||||
GitHubButton.propTypes = {
|
||||
config: React.PropTypes.object
|
||||
};
|
||||
|
||||
|
@ -85,7 +85,7 @@ class Footer extends React.Component {
|
|||
<a href="https://github.com/facebook/docusaurus">
|
||||
GitHub
|
||||
</a>
|
||||
<GithubButton config={this.props.config} />
|
||||
<GitHubButton config={this.props.config} />
|
||||
</div>
|
||||
</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:
|
||||
|
||||
* [Github Pages](#using-github-pages)
|
||||
* [GitHub Pages](#using-github-pages)
|
||||
* [Netlify](#hosting-on-netlify)
|
||||
|
||||
### Using GitHub Pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue