Files
UiQuestions/docusaurus.config.js
T
2020-10-18 20:10:09 +05:30

106 lines
2.8 KiB
JavaScript

module.exports = {
title: 'UI Questions',
tagline: 'Review all frontend topics before a interview',
url: 'https://UiQuestions.com',
baseUrl: '/',
onBrokenLinks: 'throw',
favicon: 'img/favicon.ico',
organizationName: 'bendtherules', // Usually your GitHub org/user name.
projectName: 'UiQuestions', // Usually your repo name.
themeConfig: {
navbar: {
title: 'UI Questions',
logo: {
alt: 'Ui Questions',
src: 'img/logo_ui.svg',
},
items: [
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
// {to: 'blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/bendtherules/UiQuestions',
label: 'GitHub',
position: 'right',
},
],
},
// TODO: Add meaningful links here or remove it
// footer: {
// style: 'dark',
// links: [
// {
// title: 'Docs',
// items: [
// {
// label: 'Style Guide',
// to: 'docs/',
// },
// {
// label: 'Second Doc',
// to: 'docs/doc2/',
// },
// ],
// },
// {
// title: 'Community',
// items: [
// {
// label: 'Stack Overflow',
// href: 'https://stackoverflow.com/questions/tagged/docusaurus',
// },
// {
// label: 'Discord',
// href: 'https://discordapp.com/invite/docusaurus',
// },
// {
// label: 'Twitter',
// href: 'https://twitter.com/docusaurus',
// },
// ],
// },
// {
// title: 'More',
// items: [
// {
// label: 'Blog',
// to: 'blog',
// },
// {
// label: 'GitHub',
// href: 'https://github.com/facebook/docusaurus',
// },
// ],
// },
// ],
// copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
// },
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
'https://github.com/bendtherules/UiQuestions/edit/main/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/bendtherules/UiQuestions/edit/main/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};