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 {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic'; 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 = { const config: Config = {
title: 'My Site', title: 'Libre Wedding Planner',
tagline: 'Dinosaurs are cool', tagline: 'Free and open-source wedding planning software to organize your wedding',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
// Set the production url of your site here url: 'https://libreweddingplanner.org',
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>/'
baseUrl: '/', baseUrl: '/',
// GitHub pages deployment config. organizationName: 'bustikiller',
// If you aren't using GitHub pages, you don't need these. projectName: 'wedding-planner-website',
organizationName: 'facebook', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name.
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', 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: { i18n: {
defaultLocale: 'en', defaultLocale: 'en',
locales: ['en'], locales: ['en'],
@ -37,10 +27,8 @@ const config: Config = {
{ {
docs: { docs: {
sidebarPath: './sidebars.ts', sidebarPath: './sidebars.ts',
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', 'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
@ -48,11 +36,8 @@ const config: Config = {
type: ['rss', 'atom'], type: ['rss', 'atom'],
xslt: true, xslt: true,
}, },
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', 'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn', onInlineTags: 'warn',
onInlineAuthors: 'warn', onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn', onUntruncatedBlogPosts: 'warn',
@ -65,12 +50,11 @@ const config: Config = {
], ],
themeConfig: { themeConfig: {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg', image: 'img/docusaurus-social-card.jpg',
navbar: { navbar: {
title: 'My Site', title: 'Libre Wedding Planner',
logo: { logo: {
alt: 'My Site Logo', alt: 'Libre Wedding Planner Logo',
src: 'img/logo.svg', src: 'img/logo.svg',
}, },
items: [ items: [
@ -81,11 +65,6 @@ const config: Config = {
label: 'Tutorial', label: 'Tutorial',
}, },
{to: '/blog', label: 'Blog', position: 'left'}, {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
position: 'right',
},
], ],
}, },
footer: { footer: {
@ -101,19 +80,19 @@ const config: Config = {
], ],
}, },
{ {
title: 'Community', title: 'Source code',
items: [ items: [
{ {
label: 'Stack Overflow', label: 'Backend',
href: 'https://stackoverflow.com/questions/tagged/docusaurus', href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner/',
}, },
{ {
label: 'Discord', label: 'Frontend',
href: 'https://discordapp.com/invite/docusaurus', href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-frontend/',
}, },
{ {
label: 'X', label: 'Website',
href: 'https://x.com/docusaurus', href: 'https://gitea.bustikiller.com/bustikiller/wedding-planner-website/',
}, },
], ],
}, },
@ -123,15 +102,11 @@ const config: Config = {
{ {
label: 'Blog', label: 'Blog',
to: '/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: { prism: {
theme: prismThemes.github, theme: prismThemes.github,