Skip to content

Commit 37f1de9

Browse files
authored
Merge pull request #45 from commitd/chrisflatley/issue44
Add defaults for print
2 parents 6a50051 + f114d81 commit 37f1de9

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414
"settings": {},
1515

1616
// Add the IDs of extensions you want installed when the container is created.
17-
"extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"],
17+
"extensions": [
18+
"dbaeumer.vscode-eslint",
19+
"esbenp.prettier-vscode",
20+
"github.vscode-pull-request-github"
21+
],
1822

1923
// Use 'forwardPorts' to make a list of ports inside the container available locally.
2024
// "forwardPorts": [],

example/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @committed/gatsby-theme-docs example
22

3-
See site at https://committed.software/docs
3+
See site at https://docs.committed.software.
44

55
The example show the usage and provides instructions for the [@committed/gatsby-theme-docs](https://github.com/commitd/gatsby-theme-docs).
66

example/docs/instructions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ module.exports = {
9191
author: "Committed",
9292
description: "Documentation built with mdx.",
9393
siteUrl: "https://committed.software/docs",
94-
docsLocation: "https://github.com/commitd/docs-starter/tree/master/content"
9594
},
9695
plugins: [
9796
{
@@ -113,7 +112,7 @@ module.exports = {
113112
ignoreIndex: false
114113
},
115114
print: {
116-
classification: null
115+
classification: "OPEN SOURCE"
117116
reference: "https://committed.software/docs"
118117
},
119118
// can omit search when true, as true is the default

example/gatsby-config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
const { NODE_ENV } = process.env
22

33
const pathPrefix = (env) => {
4-
return env === 'production' ? '/docs' : ''
4+
// If you have a context path in production set it here e..g /docs
5+
return env === 'production' ? '' : ''
56
}
67

78
module.exports = {
@@ -10,8 +11,7 @@ module.exports = {
1011
title: 'Committed Docs Theme',
1112
author: 'Committed',
1213
description: 'Documentation built with mdx.',
13-
siteUrl: 'https://committed.software/docs',
14-
docsLocation: 'https://github.com/commitd/docs-starter/tree/master/content',
14+
siteUrl: 'https://docs.committed.software',
1515
},
1616
plugins: [
1717
{
@@ -35,8 +35,8 @@ module.exports = {
3535
exceptions: ['/broken'],
3636
},
3737
print: {
38-
classification: 'OFFICIAL',
39-
reference: 'https://committed.software/docs',
38+
classification: 'OPEN SOURCE',
39+
reference: 'https://docs.committed.software',
4040
},
4141
},
4242
},

theme/gatsby-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ module.exports = ({
3030
),
3131
print: Object.assign(
3232
{
33-
classification: null,
34-
reference: null,
33+
classification: '',
34+
reference: '',
3535
},
3636
print
3737
),

0 commit comments

Comments
 (0)