ligo/gitlab-pages/website/siteConfig.js

209 lines
6.1 KiB
JavaScript
Raw Normal View History

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.
// List of projects/orgs using your project for the users page.
2019-06-03 20:16:05 +04:00
const partners = [
{
2019-09-25 19:45:37 +04:00
caption: "Nomadic Labs",
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-30 18:34:17 +04:00
image: "/img/nomadic-logo.svg",
2019-09-25 19:45:37 +04:00
infoLink: "https://www.nomadic-labs.com/",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Tocqueville Group",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-30 18:34:17 +04:00
image: "/img/tq-logo-2.svg",
2019-09-25 19:45:37 +04:00
infoLink: "https://tqgroup.io/",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Stove Labs",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-30 18:34:17 +04:00
image: "/img/stove-logo.svg",
2019-09-25 19:45:37 +04:00
infoLink: "https://stove-labs.com",
pinned: true
}
2019-06-03 20:16:05 +04:00
];
const team = [
{
2019-09-25 19:45:37 +04:00
caption: "Gabriel Alfour",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-25 19:45:37 +04:00
image: "/img/user.svg",
infoLink: "https://gitlab.com/gabriel.alfour",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Georges Dupéron",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-25 19:45:37 +04:00
image: "/img/user.svg",
infoLink: "https://gitlab.com/georges.duperon",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Christian Rinderknecht",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-25 19:45:37 +04:00
image: "/img/christian.jpeg",
infoLink: "https://github.com/rinderknecht",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Brice Aldrich",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-25 19:45:37 +04:00
image: "/img/brice.png",
infoLink: "https://github.com/DefinitelyNotAGoat",
pinned: true
2019-06-03 20:16:05 +04:00
},
{
2019-09-25 19:45:37 +04:00
caption: "Matej Sima",
2019-06-03 20:16:05 +04:00
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
2019-09-25 19:45:37 +04:00
image: "/img/matej.jpg",
infoLink: "https://github.com/maht0rz",
pinned: true
}
];
const siteConfig = {
2019-09-25 19:45:37 +04:00
title: "LIGO", // Title for your website.
tagline:
2019-09-30 17:42:33 +04:00
"LIGO is a friendly smart-contract language for Tezos",
taglineSub: "Michelson was never so easy",
2019-11-04 21:13:43 +04:00
url: "https://ligolang.org", // Your website URL
2019-09-25 19:45:37 +04:00
baseUrl: "/", // Base URL for your project */
// For github.io type URLs, you would set the url and baseUrl like:
// url: 'https://facebook.github.io',
// baseUrl: '/test-site/',
// Used for publishing and more
2019-09-25 19:45:37 +04:00
projectName: "ligo",
organizationName: "marigold",
// For top-level user or org sites, the organization is still the same.
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
// organizationName: 'JoelMarcey'
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
{ doc: "intro/what-and-why", label: "Docs" },
2019-09-25 19:45:37 +04:00
{
doc: "tutorials/get-started/tezos-taco-shop-smart-contract",
label: "Tutorials"
},
{ blog: true, label: "Blog" },
// TODO: { href: "/odoc", label: "Api" },
2019-09-25 19:45:37 +04:00
{ doc: "contributors/origin", label: "Contribute" },
{ href: "https://discord.gg/9rhYaEt", label: "" },
{ search: true }
],
// If you have users set above, you add it here:
2019-06-03 20:16:05 +04:00
partners,
team,
/* path to images for header/footer */
2019-09-25 19:45:37 +04:00
footerIcon: "img/logo.svg",
favicon: "img/logo.svg",
/* Colors for website */
colors: {
2019-09-25 19:45:37 +04:00
primaryColor: "#1A1A1A",
secondaryColor: "#1A1A1A"
},
/* Custom fonts for website */
/*
fonts: {
myFont: [
"Times New Roman",
"Serif"
],
myOtherFont: [
"-apple-system",
"system-ui"
]
},
*/
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
copyright: `© ${new Date().getFullYear()} LIGO. All rights reserved.`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks.
2019-09-30 21:23:30 +04:00
theme: "default",
hljs: function (hljs) {
hljs.registerLanguage('pascaligo', function (hljs) {
return {
// case_insensitive: true,
beginKeywords: '',
keywords: {
keyword: 'and begin block case const contains down else end fail for ' +
'from function if in is list map mod nil not of or patch ' +
'procedure record remove set skip step then to type var while with',
literal: 'true false unit int string some none bool nat list'
},
lexemes: '[a-zA-Z][a-zA-Z0-9_]*',
contains: [
hljs.C_LINE_COMMENT_MODE,
{
className: 'type',
begin: /[A-Z][a-z]+/
},
{
begin: /[*+-:;\(\)\{\}|\>\<]/,
// className: 'ignore'
}
]
}
});
}
},
// Add custom scripts here that would be placed in <script> tags.
2019-09-25 19:45:37 +04:00
scripts: ["https://buttons.github.io/buttons.js"],
// On page navigation for the current documentation page.
2019-09-25 19:45:37 +04:00
onPageNav: "separate",
// No .html extensions for paths.
cleanUrl: true,
// Open Graph and Twitter card images.
2019-11-04 21:13:43 +04:00
ogImage: "img/logo.svg",
2019-09-25 19:45:37 +04:00
twitterImage: "img/undraw_tweetstorm.svg",
// Show documentation's last contributor's name.
// enableUpdateBy: true,
// Show documentation's last update time.
// enableUpdateTime: true,
// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
2019-09-25 19:45:37 +04:00
repoUrl: "https://gitlab.com/ligolang/ligo",
stylesheets: [
"https://fonts.googleapis.com/css?family=DM+Sans|Open+Sans|Source+Code+Pro&display=swap"
],
2019-06-13 05:00:27 +04:00
algolia: {
2019-09-25 19:45:37 +04:00
apiKey: "12be98d9fd4242a5f16b70a5cc6b0158",
indexName: "ligolang",
2019-06-13 05:00:27 +04:00
algoliaOptions: {} // Optional, if provided by Algolia
2019-09-25 19:45:37 +04:00
}
};
module.exports = siteConfig;