Initialize with docusaurus

This commit is contained in:
2020-10-11 17:38:05 +05:30
commit 1043e69033
23 changed files with 11293 additions and 0 deletions
+105
View File
@@ -0,0 +1,105 @@
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: 'My Site Logo',
src: 'img/logo.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'),
},
},
],
],
};