chore: update to primary settings

This commit is contained in:
RiO
2024-12-23 23:22:09 +05:30
parent e131cf9c43
commit 5ae67d5f84
2 changed files with 10 additions and 10 deletions

View File

@@ -10,20 +10,20 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: 'My Site', title: 'DevContrib',
tagline: 'Dinosaurs are cool', tagline: 'Dev Docs For Snigdha OS Developer',
favicon: 'img/favicon.ico', favicon: 'img/favicon.ico',
// Set the production url of your site here // Set the production url of your site here
url: 'https://your-docusaurus-site.example.com', url: 'https://snigdha-os.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served // Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/' // For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/', baseUrl: '/DevContrib/',
// GitHub pages deployment config. // GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these. // If you aren't using GitHub pages, you don't need these.
organizationName: 'facebook', // Usually your GitHub org/user name. organizationName: 'Snigdha-OS', // Usually your GitHub org/user name.
projectName: 'docusaurus', // Usually your repo name. projectName: 'DevContrib', // Usually your repo name.
onBrokenLinks: 'throw', onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn', onBrokenMarkdownLinks: 'warn',
@@ -76,7 +76,7 @@ const config = {
// Replace with your project's social card // 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: 'DevContrib',
logo: { logo: {
alt: 'My Site Logo', alt: 'My Site Logo',
src: 'img/logo.svg', src: 'img/logo.svg',
@@ -90,7 +90,7 @@ const config = {
}, },
{to: '/blog', label: 'Blog', position: 'left'}, {to: '/blog', label: 'Blog', position: 'left'},
{ {
href: 'https://github.com/facebook/docusaurus', href: 'https://github.com/facebook/Snigdha-OS',
label: 'GitHub', label: 'GitHub',
position: 'right', position: 'right',
}, },

View File

@@ -20,7 +20,7 @@ function HomepageHeader() {
<Link <Link
className="button button--secondary button--lg" className="button button--secondary button--lg"
to="/docs/intro"> to="/docs/intro">
Docusaurus Tutorial - 5min Explore Dev Docs for Snigdha OS
</Link> </Link>
</div> </div>
</div> </div>
@@ -32,7 +32,7 @@ export default function Home() {
const {siteConfig} = useDocusaurusContext(); const {siteConfig} = useDocusaurusContext();
return ( return (
<Layout <Layout
title={`Hello from ${siteConfig.title}`} title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />"> description="Description will go into a meta tag in <head />">
<HomepageHeader /> <HomepageHeader />
<main> <main>