🧹 chore: change in config && repo

This commit is contained in:
eshanized
2025-01-10 21:46:50 +05:30
parent 7baa0ff699
commit b8db7b774e
15 changed files with 13 additions and 312 deletions

View File

@@ -10,21 +10,21 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'DevContrib',
tagline: 'Dev Docs For Snigdha OS Developer',
title: 'SNIGDHA OS | DEVELOPER DOCS',
tagline: 'Comprehensive Documentation for Next-Level Development on Snigdha OS.',
favicon: 'img/favicon.ico',
// Set the production url of your site here
url: 'https://snigdha-os.github.io/',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/DevContrib/',
baseUrl: '/snigdhaos-devdocs/',
trailingSlash: false,
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'Snigdha-OS', // Usually your GitHub org/user name.
projectName: 'DevContrib', // Usually your repo name.
projectName: 'snigdhaos-devdocs', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
@@ -44,25 +44,12 @@ const config = {
({
docs: {
sidebarPath: './sidebars.js',
sidebarCollapsible: false, // Sidebar items are not collapsible
routeBasePath: '/', // Set docs as the homepage
// 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/',
},
blog: {
showReadingTime: true,
feedOptions: {
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
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
'https://github.com/Snigdha-OS/snigdhaos-devdocs/tree/master/',
},
theme: {
customCss: './src/css/custom.css',
@@ -77,19 +64,12 @@ const config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'DevContrib',
title: 'SNIGDHA OS | DEVELOPER DOCS',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Tutorial',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/Snigdha-OS',
label: 'GitHub',
@@ -99,48 +79,8 @@ const config = {
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Tutorial',
to: '/docs/intro',
},
],
},
{
title: 'Community',
items: [
{
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'X',
href: 'https://x.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.`,
links: [],
copyright: `Copyright © ${new Date().getFullYear()} Snigdha OS. Powered by TONMOY INFRASTRUCTURE.`,
},
prism: {
theme: prismThemes.github,