1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/website/siteConfig.js

114 lines
3.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.
*/
/* List of projects/orgs using your project for the users page */
2018-01-23 02:22:55 +01:00
const users = [
{
caption: "Filiosoft",
image: "/img/users/filiosoft.png",
2018-01-23 02:22:55 +01:00
infoLink: "https://filiosoft.com/",
fbOpenSource: false,
pinned: false,
2018-06-02 17:49:43 +02:00
},
{
caption: "SheetJS",
image: "/img/users/sheetjs.png",
2018-06-02 17:49:43 +02:00
infoLink: "https://sheetjs.com/",
fbOpenSource: false,
pinned: true,
},
{
caption: "Mozilla Neutrino",
image: "/img/users/neutrino.png",
infoLink: "https://neutrinojs.org/",
fbOpenSource: false,
pinned: true,
},
{
caption: "pnpm",
image: "/img/users/pnpm.svg",
infoLink: "https://pnpm.js.org/",
fbOpenSource: false,
pinned: true,
},
{
caption: "nodesource",
image: "/img/users/nodesource.jpg",
infoLink: "https://nodesource.com/",
fbOpenSource: false,
pinned: true,
},
{
caption: "Strapi",
image: "/img/users/strapijs.jpg",
infoLink: "https://strapi.io/",
fbOpenSource: false,
pinned: true,
2018-01-23 02:22:55 +01:00
}
];
const siteConfig = {
title: 'Verdaccio' /* title for your website */,
tagline: 'Verdaccio · A lightweight private npm proxy registry',
url: 'http://www.verdaccio.org' /* your website url */,
organizationName: 'verdaccio',
cname: 'www.verdaccio.org',
noIndex: false,
baseUrl: '/' /* base url for your project */,
projectName: 'verdaccio',
headerLinks: [
{ doc: 'installation', label: 'Docs'},
{ page: 'help', label: 'Help'},
2018-04-30 14:38:56 +02:00
{ href: "https://medium.com/verdaccio", label: 'Blog'},
{ href: "https://github.com/verdaccio", label: "GitHub" }
],
users,
headerIcon: 'img/verdaccio-tiny.png',
footerIcon: 'img/verdaccio-blackwhite.png',
favicon: 'img/favicon.ico',
colors: {
primaryColor: '#4B5E40',
secondaryColor: '#205C3B',
},
translationRecruitingLink: 'https://crowdin.com/project/verdaccio',
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
copyright:
'Copyright © ' + new Date().getFullYear() + ' Verdaccio community',
// organizationName: 'deltice', // or set an env variable ORGANIZATION_NAME
// projectName: 'test-site', // or set an env variable PROJECT_NAME
usePrism: ['jsx'],
highlight: {
theme: 'atom-one-dark',
},
2018-01-22 20:29:34 +01:00
algolia: {
apiKey: 'a8b4d117e513cd8d71d6a95e3d9d4a91',
indexName: 'verdaccio',
2018-07-22 20:21:54 +02:00
algoliaOptions: {
facetFilters: ['language:LANGUAGE', 'version:VERSION'],
}
2018-01-22 20:29:34 +01:00
},
2018-01-10 08:34:18 +01:00
gaTrackingId: 'UA-2527438-21',
twitter: true,
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/js/code-blocks-buttons.js',
],
stylesheets: [
'/css/code-blocks-buttons.css',
],
// You may provide arbitrary config keys to be used as needed by your template.
repoUrl: 'https://github.com/verdaccio/verdaccio',
cleanUrl: true,
scrollToTop: true,
scrollToTopOptions: {
zIndex: 100,
},
};
module.exports = siteConfig;