Skip to content

Commit

Permalink
feat: add edit-in-github
Browse files Browse the repository at this point in the history
  • Loading branch information
vpicone committed Jul 29, 2019
1 parent 8a0232e commit e6a2f8d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 8 additions & 1 deletion gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ module.exports = {
keywords: 'gatsby,theme,carbon',
},
plugins: [
'gatsby-theme-carbon',
{
resolve: 'gatsby-theme-carbon',
options: {
repository: {
baseUrl: 'https://github.com/carbon-design-system/carbon-www',
},
},
},
{
resolve: 'gatsby-plugin-compile-es6-packages',
options: { modules: ['@carbon/addons-website'] },
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dev": "gatsby develop",
"dev:clean": "gatsby clean && gatsby develop",
"clean": "gatsby clean",
"build": "gatsby build",
"lint:js": "eslint src --fix",
"format": "prettier --write 'src/**/*.{js,json,css,scss,md,mdx,yaml}'"
},
Expand Down
4 changes: 2 additions & 2 deletions src/pages/guidelines/content/glossary.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
label: Content design can make or break an online experience. Always strive for
writing that is clear, concise, and on-brand.
title: Content
tabs: ["General", "Guidance", "Glossary"]
tabs: ['General', 'Guidance', 'Glossary']
---

import GlossaryComponent from "./GlossaryComponent";
import GlossaryComponent from './GlossaryComponent';

<GlossaryComponent />

0 comments on commit e6a2f8d

Please sign in to comment.