robossembler.org/docusaurus.config.js

117 lines
3.1 KiB
JavaScript
Raw Normal View History

2021-04-02 14:38:59 +03:00
/** @type {import('@docusaurus/types').DocusaurusConfig} */
2021-11-26 11:51:11 +04:00
const math = require('remark-math');
const katex = require('rehype-katex');
2021-04-02 14:38:59 +03:00
module.exports = {
title: 'Robossembler',
2021-05-20 12:47:35 +03:00
tagline: 'Self Replicated Robotics Infrastructure Documentation',
2021-10-26 18:24:12 +03:00
url: 'https://robosphere.gitlab.io',
2021-04-02 11:58:43 +00:00
baseUrl: '/robossembler-docs/',
2021-04-02 14:38:59 +03:00
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'robossembler', // Usually your GitHub org/user name.
projectName: 'robossembler-docs', // Usually your repo name.
themeConfig: {
navbar: {
title: 'Robossembler',
logo: {
alt: 'Robossembler Logo',
src: 'img/logo.svg',
},
items: [
{
to: 'docs/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
{to: 'blog', label: 'Blog', position: 'left'},
{
2021-05-20 12:47:35 +03:00
href: 'https://gitlab.com/robosphere/robossembler-docs',
label: 'GitLab',
2021-04-02 14:38:59 +03:00
position: 'right',
}
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: 'docs/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/robossembler',
},
{
label: 'Discord',
2021-05-20 12:47:35 +03:00
href: 'https://discord.gg/fkvKMQ3XT4',
2021-04-02 14:38:59 +03:00
},
{
label: 'Twitter',
2021-05-20 12:47:35 +03:00
href: 'https://twitter.com/movefasta',
2021-04-02 14:38:59 +03:00
},
],
},
{
title: 'More',
items: [
{
label: 'Blog',
to: 'blog',
},
{
2021-05-20 12:47:35 +03:00
label: 'GitLab',
href: 'https://gitlab.com/robosphere',
2021-04-02 14:38:59 +03:00
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Robossembler Team, Built with Docusaurus.`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
2021-05-20 12:47:35 +03:00
'https://gitlab.com/robosphere/robossembler-docs/-/edit/master/',
showLastUpdateAuthor: true,
showLastUpdateTime: true,
2021-11-26 11:51:11 +04:00
remarkPlugins: [math],
rehypePlugins: [katex],
2021-04-02 14:38:59 +03:00
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
2021-05-20 12:47:35 +03:00
'https://gitlab.com/robosphere/robossembler-docs/-/edit/master/',
2021-04-02 14:38:59 +03:00
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
2021-11-26 11:51:11 +04:00
stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.11/dist/katex.min.css',
integrity:
'sha384-Um5gpz1odJg5Z4HAmzPtgZKdTBHZdw8S29IecapCSB31ligYPhHQZMIlWLYQGVoc',
crossorigin: 'anonymous',
},
],
2021-04-02 14:38:59 +03:00
};