Remove sourceCodeButton config key (#181)

This commit is contained in:
Héctor Ramos 2017-10-26 12:16:36 -07:00 committed by GitHub
parent db8daa635d
commit ba666cc6ae
6 changed files with 10 additions and 18 deletions

View file

@ -10,10 +10,10 @@ const React = require("react");
const githubButton = (
<a
className="github-button"
href="https://github.com/deltice/test-site"
href={this.props.config.repoUrl}
data-icon="octicon-star"
data-count-href="/deltice/test-site/stargazers"
data-count-api="/repos/deltice/test-site#stargazers_count"
data-show-count={true}
data-count-aria-label="# stargazers on GitHub"
aria-label="Star this project on GitHub"
>

View file

@ -18,7 +18,7 @@ const users = [
const siteConfig = {
title: "Test Site" /* title for your website */,
tagline: "A website for testing",
url: "https://deltice.github.io" /* your github url */,
url: "https://deltice.github.io" /* your website url */,
baseUrl: "/test-site/" /* base url for your project */,
projectName: "test-site",
headerLinks: [
@ -45,7 +45,12 @@ const siteConfig = {
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks
theme: "default"
}
},
scripts: [
"https://buttons.github.io/buttons.js"
],
// You may provide arbitrary config keys to be used as needed by your template.
repoUrl: "https://github.com/deltice/test-site",
};
module.exports = siteConfig;