mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
30 lines
906 B
JavaScript
30 lines
906 B
JavaScript
import React from 'react';
|
||
|
||
// theme.config.js
|
||
export default {
|
||
projectLink: 'https://github.com/shuding/nextra', // GitHub link in the navbar
|
||
docsRepositoryBase: 'https://github.com/shuding/nextra/blob/master', // base URL for the docs repository
|
||
titleSuffix: ' – Nextra',
|
||
nextLinks: true,
|
||
prevLinks: true,
|
||
search: true,
|
||
customSearch: null, // customizable, you can use algolia for example
|
||
darkMode: true,
|
||
footer: true,
|
||
footerText: `MIT ${new Date().getFullYear()} © Shu Ding.`,
|
||
footerEditLink: `Edit this page on GitHub`,
|
||
logo: (
|
||
<>
|
||
<svg>...</svg>
|
||
<span>Next.js Static Site Generator</span>
|
||
</>
|
||
),
|
||
head: (
|
||
<>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta name="description" content="Nextra: the next docs builder" />
|
||
<meta name="og:title" content="Nextra: the next docs builder" />
|
||
</>
|
||
),
|
||
};
|