-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathsiteConfig.js
86 lines (67 loc) · 2.23 KB
/
siteConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.
const repoUrl = "https://github.com/scalacenter/scala-3-migration-guide";
const siteConfig = {
title: "Scala 3 Migration guide",
tagline: "An evolving guide to support the migration to Scala 3",
url: "https://scalacenter.github.io/",
baseUrl: "/scala-3-migration-guide/",
// Used for publishing and more
projectName: "scala-3-migration-guide",
organizationName: "scalacenter",
customDocsPath: 'website/target/docs',
algolia: {
apiKey: "f77e0c381ea8939fc6c34dc0e17ea492",
indexName: "scala-3-migration-guide"
},
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
{doc: 'get-started', label: 'User Guide'},
{doc: 'contributing', label: 'Contribute'},
{ href: repoUrl, label: "GitHub", external: true }
],
/* path to images for header/footer */
headerIcon: 'img/dotty-logo-white.svg',
footerIcon: 'img/dotty-logo-white.svg',
favicon: 'img/dotty-logo.svg',
/* Colors for website */
colors: {
primaryColor: '#ca445e',
secondaryColor: '#224951',
},
/* Custom fonts for website */
/*
fonts: {
myFont: [
"Lato",
"Serif"
],
myOtherFont: [
"-apple-system",
"system-ui"
]
},
*/
stylesheets: [
'https://use.fontawesome.com/releases/v5.14.0/css/all.css',
'https://fonts.googleapis.com/css?family=Lobster&display=swap',
'https://fonts.googleapis.com/css?family=Lato:400,700|Fira+Code:400,700&display=fallback'
],
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
copyright: `Copyright © ${new Date().getFullYear()} Scala Center`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks
theme: "github"
},
// Add custom scripts here that would be placed in <script> tags.
// scripts: ['https://buttons.github.io/buttons.js'],
// On page navigation for the current documentation page.
onPageNav: 'separate',
// No .html extensions for paths.
/* Open Graph and Twitter card images */
ogImage: "img/scalacenter2x.png",
twitterImage: "img/scalacenter2x.png",
editUrl: `${repoUrl}/edit/main/docs/`,
repoUrl
};
module.exports = siteConfig;