Remove link to GitHub

This commit is contained in:
Manuel Bustillo 2024-11-16 14:29:57 +01:00
parent f24b76a6fa
commit 0a405a4af1

View File

@ -2,30 +2,20 @@ import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
const config: Config = {
title: 'My Site',
tagline: 'Dinosaurs are cool',
title: 'Libre Wedding Planner',
tagline: 'Free and open-source wedding planning software to organize your wedding',
favicon: 'img/favicon.ico',
// Set the production url of your site here
url: 'https://your-docusaurus-site.example.com',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
url: 'https://libreweddingplanner.org',
baseUrl: '/',
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
organizationName: 'bustikiller',
projectName: 'wedding-planner-website',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
// Even if you don't use internationalization, you can use this field to set
// useful metadata like html lang. For example, if your site is Chinese, you
// may want to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
@ -37,10 +27,8 @@ const config: Config = {
{
docs: {
sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
},
blog: {
showReadingTime: true,
@ -48,11 +36,8 @@ const config: Config = {
type: ['rss', 'atom'],
xslt: true,
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// Useful options to enforce blogging best practices
'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
@ -65,12 +50,11 @@ const config: Config = {
],
themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'My Site',
title: 'Libre Wedding Planner',
logo: {
alt: 'My Site Logo',
alt: 'Libre Wedding Planner Logo',
src: 'img/logo.svg',
},
items: [
@ -81,11 +65,6 @@ const config: Config = {
label: 'Tutorial',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
@ -101,19 +80,19 @@ const config: Config = {
],
},
{
title: 'Community',
title: 'Source code',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
label: 'Backend',
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner/',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
label: 'Frontend',
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-frontend/',
},
{
label: 'X',
href: 'https://x.com/docusaurus',
label: 'Website',
href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
},
],
},
@ -123,15 +102,11 @@ const config: Config = {
{
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
},
}
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} Manuel Bustillo. Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,