const repoUrl = 'https://gitlab.com/ligolang/ligo'; let reasonHighlightJs = require('reason-highlightjs'); const siteConfig = { title: 'LIGO', // Title for your website. tagline: 'LIGO is a friendly smart contract language for Tezos', taglineSub: 'Michelson was never so easy', url: 'https://ligolang.org', // Your website URL 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 projectName: 'ligo', organizationName: 'TBN', // 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: [ { href: 'https://ide.ligolang.org/', label: 'Try Online' }, { doc: 'intro/installation', label: 'Install' }, { doc: 'intro/introduction', label: 'Docs' }, { doc: 'tutorials/get-started/tezos-taco-shop-smart-contract', label: 'Tutorials' }, { blog: true, label: 'Blog' }, // TODO: { href: "/odoc", label: "API" }, // { doc: 'contributors/origin', label: 'Contribute' }, { href: '/contact', label: 'Ask Questions' }, { search: true } ], footerLinks: { docs: [ { doc: 'intro/installation', label: 'Install' }, { doc: 'api/cli-commands', label: 'CLI Commands' }, { doc: 'contributors/origin', label: 'Contribute' }, { href: '/odoc', label: 'API Documentation' } ], community: [ { href: 'https://forum.tezosagora.org/tag/ligo', label: 'Tezos Agora Forum', blankTarget: true }, { href: 'https://tezos.stackexchange.com/questions/tagged/ligo', label: 'Tezos Stack Exchange', blankTarget: true }, { href: 'https://t.me/LigoLang', label: 'Telegram', blankTarget: true }, { href: 'https://discord.gg/9rhYaEt', label: 'Discord', blankTarget: true } ], more: [ { doc: 'tutorials/get-started/tezos-taco-shop-smart-contract', label: 'Tutorials' }, { href: repoUrl, label: 'GitLab' } ] }, /* path to images for header/footer */ footerIcon: 'img/logo.svg', favicon: 'img/logo.svg', /* Colors for website */ colors: { primaryColor: '#1A1A1A', secondaryColor: '#1A1A1A' }, // 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. theme: 'default', hljs: function (hljs) { hljs.registerLanguage('reasonligo', reasonHighlightJs); hljs.registerLanguage('pascaligo', function (hljs) { return { // case_insensitive: true, beginKeywords: '', keywords: { keyword: 'and attributes begin big_map block case const contains else' + ' end False for from function if in is list map mod nil' + ' not of or patch record remove set skip then to True 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