nexus/website/siteConfig.js

112 lines
3.0 KiB
JavaScript

// List of projects/orgs using your project for the users page.
const users = [
{
caption: "Prisma",
// You will need to prepend the image path with your baseUrl
image: "img/prisma.png",
infoLink: "https://www.prisma.io/",
pinned: true,
},
];
const siteConfig = {
title: "GraphQLiteral", // Title for your website.
tagline:
"Simple, scalable, strongly typed GraphQL schema construction for TypeScript/JavaScript",
// url: "https://tgriesser.com", // Your website URL
baseUrl: "/graphqliteral/", // Base URL for your project */
noIndex: true,
// algolia: {
// apiKey: 'my-api-key',
// indexName: 'my-index-name',
// algoliaOptions: {} // Optional, if provided by Algolia
// }
// Used for publishing and more
projectName: "graphqliteral",
organizationName: "tgriesser",
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
{ doc: "getting-started", label: "Docs" },
{ page: "api-reference", label: "API" },
{ page: "playground", label: "Playground" },
{ page: "comparison", label: "Compare" },
{ blog: true, label: "Blog" },
],
// If you have users set above, you add it here:
// users,
/* path to images for header/footer */
headerIcon: "img/graphqliteral.png",
footerIcon: "img/graphqliteral.png",
favicon: "img/favicon.png",
/* Colors for website */
colors: {
primaryColor: "#2A6379",
secondaryColor: "#A3A3A3",
},
/* 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: `Copyright © ${new Date().getFullYear()} Tim Griesser`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks.
theme: "default",
},
// Add custom scripts here that would be placed in <script> tags.
scripts: [
"https://buttons.github.io/buttons.js",
"https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",
"/graphqliteral/js/api-docs.js",
"/graphqliteral/js/code-block-buttons.js",
"/graphqliteral/js/code-block-toggle.js",
],
stylesheets: [
"https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/themes/prism.css",
"/graphqliteral/css/code-block-buttons.css",
],
// On page navigation for the current documentation page.
onPageNav: "separate",
// No .html extensions for paths.
cleanUrl: true,
// Open Graph and Twitter card images.
ogImage: "img/graphqliteral.png",
twitterImage: "img/graphqliteral.png",
// 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...
// repoUrl: 'https://github.com/facebook/test-site',
separateCss: ["static/separate-css"],
users,
};
module.exports = siteConfig;