mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
* Add Reason support to Prism.js * Add XML/ATOM feed. Generates for both localhost and build script. Adds meta links to feeds to all html files. * Updated /core/Footer.js to pull from siteConfig
51 lines
1.5 KiB
JavaScript
51 lines
1.5 KiB
JavaScript
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
/* List of projects/orgs using your project for the users page */
|
|
const users = [
|
|
{
|
|
caption: "User1",
|
|
image: "/test-site/img/docusaurus.svg",
|
|
infoLink: "https://www.example.com",
|
|
pinned: true
|
|
}
|
|
];
|
|
|
|
const siteConfig = {
|
|
title: "Test Site" /* title for your website */,
|
|
tagline: "A website for testing",
|
|
url: "https://deltice.github.io" /* your github url */,
|
|
baseUrl: "/test-site/" /* base url for your project */,
|
|
projectName: "test-site",
|
|
headerLinks: [
|
|
{doc: "doc1", label: "Docs"},
|
|
{doc: "doc4", label: "API"},
|
|
{page: "help", label: "Help"},
|
|
{blog: true, label: "Blog"}
|
|
],
|
|
users,
|
|
/* path to images for header/footer */
|
|
headerIcon: "img/docusaurus.svg",
|
|
footerIcon: "img/docusaurus.svg",
|
|
favicon: "img/favicon.png",
|
|
/* colors for website */
|
|
colors: {
|
|
primaryColor: "#2E8555",
|
|
secondaryColor: "#205C3B",
|
|
prismColor:
|
|
"rgba(46, 133, 85, 0.03)" /* primaryColor in rgba form, with 0.03 alpha */
|
|
},
|
|
// This copyright info is used in /core/Footer.js and blog rss/atom feeds.
|
|
copyright:
|
|
"Copyright © " +
|
|
new Date().getFullYear() +
|
|
" Your Name or Your Company Name"
|
|
};
|
|
|
|
module.exports = siteConfig;
|