mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 12:37:01 +02:00
Remove sourceCodeButton config key (#181)
This commit is contained in:
parent
db8daa635d
commit
ba666cc6ae
6 changed files with 10 additions and 18 deletions
|
@ -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"
|
||||
>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue