Skip to content

Commit dd42122

Browse files
committed
tweak links in nav
1 parent bb12ad6 commit dd42122

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

website/docusaurus.config.js

+33-33
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,45 @@ const path = require('path');
44
/* Debugging */
55
var SITE_URL;
66
if (!process.env.CONTEXT || process.env.CONTEXT == 'production') {
7-
SITE_URL = 'https://docs.getdbt.com';
7+
SITE_URL = 'https://docs.getdbt.com';
88
} else {
9-
SITE_URL = process.env.DEPLOY_URL;
9+
SITE_URL = process.env.DEPLOY_URL;
1010
}
1111

1212
var GIT_BRANCH;
1313
if (!process.env.CONTEXT || process.env.CONTEXT == 'production') {
14-
GIT_BRANCH = 'current';
14+
GIT_BRANCH = 'current';
1515
} else {
16-
GIT_BRANCH = process.env.HEAD;
16+
GIT_BRANCH = process.env.HEAD;
1717
}
1818

1919
var PRERELEASE = (process.env.PRERELEASE || false);
2020

2121
var WARNING_BANNER;
2222
if (!PRERELEASE) {
23-
WARNING_BANNER = {};
23+
WARNING_BANNER = {};
2424
} else {
25-
WARNING_BANNER = {
26-
id: 'prerelease', // Any value that will identify this message.
27-
content:
28-
'CAUTION: Prerelease! This documentation reflects the next minor version of dbt. <a href="https://docs.getdbt.com">View current docs</a>.',
29-
backgroundColor: '#ffa376', // Defaults to `#fff`.
30-
textColor: '#033744', // Defaults to `#000`.
31-
}
25+
WARNING_BANNER = {
26+
id: 'prerelease', // Any value that will identify this message.
27+
content:
28+
'CAUTION: Prerelease! This documentation reflects the next minor version of dbt. <a href="https://docs.getdbt.com">View current docs</a>.',
29+
backgroundColor: '#ffa376', // Defaults to `#fff`.
30+
textColor: '#033744', // Defaults to `#000`.
31+
}
3232
}
3333

3434
var ALGOLIA_API_KEY;
3535
if (!process.env.ALGOLIA_API_KEY) {
36-
ALGOLIA_API_KEY = '0e9665cbb272719dddc6e7113b4131a5';
36+
ALGOLIA_API_KEY = '0e9665cbb272719dddc6e7113b4131a5';
3737
} else {
38-
ALGOLIA_API_KEY = process.env.ALGOLIA_API_KEY;
38+
ALGOLIA_API_KEY = process.env.ALGOLIA_API_KEY;
3939
}
4040

4141
var ALGOLIA_INDEX_NAME;
4242
if (!process.env.ALGOLIA_INDEX_NAME) {
43-
ALGOLIA_INDEX_NAME = 'dbt';
43+
ALGOLIA_INDEX_NAME = 'dbt';
4444
} else {
45-
ALGOLIA_INDEX_NAME = process.env.ALGOLIA_INDEX_NAME;
45+
ALGOLIA_INDEX_NAME = process.env.ALGOLIA_INDEX_NAME;
4646
}
4747

4848
console.log("DEBUG: CONTEXT =", process.env.CONTEXT);
@@ -76,21 +76,21 @@ module.exports = {
7676

7777
prism: {
7878
theme: (() => {
79-
var theme = require('prism-react-renderer/themes/nightOwl');
80-
// Add additional rule to nightowl theme in order to change
81-
// the color of YAML keys (to be different than values).
82-
// There weren't many Prism themes that differentiated
83-
// YAML keys and values. See link:
84-
// https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes
85-
theme.styles.push({
86-
types: ["atrule"],
87-
style: {
88-
// color chosen from the nightowl theme palette
89-
// https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/themes/nightOwl.js#L83
90-
color: "rgb(255, 203, 139)"
91-
}
92-
});
93-
return theme
79+
var theme = require('prism-react-renderer/themes/nightOwl');
80+
// Add additional rule to nightowl theme in order to change
81+
// the color of YAML keys (to be different than values).
82+
// There weren't many Prism themes that differentiated
83+
// YAML keys and values. See link:
84+
// https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes
85+
theme.styles.push({
86+
types: ["atrule"],
87+
style: {
88+
// color chosen from the nightowl theme palette
89+
// https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/themes/nightOwl.js#L83
90+
color: "rgb(255, 203, 139)"
91+
}
92+
});
93+
return theme
9494
})(),
9595
additionalLanguages: ['bash'],
9696
},
@@ -135,11 +135,11 @@ module.exports = {
135135
position: 'right',
136136
items: [
137137
{
138-
label: 'Tutorial',
138+
label: 'Getting Started Tutorial',
139139
to: '/tutorial/setting-up/',
140140
},
141141
{
142-
label: 'On Demand',
142+
label: 'Online Courses',
143143
href: 'https://courses.getdbt.com',
144144
},
145145
{

0 commit comments

Comments
 (0)