Skip to content

Commit 193af45

Browse files
committed
fix: config change
1 parent 88ff3e0 commit 193af45

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

docusaurus.config.ts

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,132 @@
1-
import {themes as prismThemes} from 'prism-react-renderer';
2-
import type {Config} from '@docusaurus/types';
3-
import type * as Preset from '@docusaurus/preset-classic';
1+
import { themes as prismThemes } from "prism-react-renderer";
2+
import type { Config } from "@docusaurus/types";
3+
import type * as Preset from "@docusaurus/preset-classic";
44

55
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
66

77
const config: Config = {
8-
title: 'My Site',
9-
tagline: 'Dinosaurs are cool',
10-
favicon: 'img/favicon.ico',
8+
title: "Basit Jamil",
9+
tagline: "Dinosaurs are cool",
10+
favicon: "img/favicon.ico",
1111

1212
// Set the production url of your site here
13-
url: 'https://your-docusaurus-site.example.com',
13+
url: "https://your-docusaurus-site.example.com",
1414
// Set the /<baseUrl>/ pathname under which your site is served
1515
// For GitHub pages deployment, it is often '/<projectName>/'
16-
baseUrl: '/',
16+
baseUrl: "https://chbasitgill.github.io/basitjamil/",
1717

1818
// GitHub pages deployment config.
1919
// If you aren't using GitHub pages, you don't need these.
20-
organizationName: 'facebook', // Usually your GitHub org/user name.
21-
projectName: 'docusaurus', // Usually your repo name.
20+
organizationName: "chbasitgill", // Usually your GitHub org/user name.
21+
projectName: "basitjamil", // Usually your repo name.
2222

23-
onBrokenLinks: 'throw',
24-
onBrokenMarkdownLinks: 'warn',
23+
onBrokenLinks: "throw",
24+
onBrokenMarkdownLinks: "warn",
2525

2626
// Even if you don't use internationalization, you can use this field to set
2727
// useful metadata like html lang. For example, if your site is Chinese, you
2828
// may want to replace "en" with "zh-Hans".
2929
i18n: {
30-
defaultLocale: 'en',
31-
locales: ['en'],
30+
defaultLocale: "en",
31+
locales: ["en"],
3232
},
3333

3434
presets: [
3535
[
36-
'classic',
36+
"classic",
3737
{
3838
docs: {
39-
sidebarPath: './sidebars.ts',
39+
sidebarPath: "./sidebars.ts",
4040
// Please change this to your repo.
4141
// Remove this to remove the "edit this page" links.
4242
editUrl:
43-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
43+
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
4444
},
4545
blog: {
4646
showReadingTime: true,
4747
feedOptions: {
48-
type: ['rss', 'atom'],
48+
type: ["rss", "atom"],
4949
xslt: true,
5050
},
5151
// Please change this to your repo.
5252
// Remove this to remove the "edit this page" links.
5353
editUrl:
54-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
54+
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
5555
// Useful options to enforce blogging best practices
56-
onInlineTags: 'warn',
57-
onInlineAuthors: 'warn',
58-
onUntruncatedBlogPosts: 'warn',
56+
onInlineTags: "warn",
57+
onInlineAuthors: "warn",
58+
onUntruncatedBlogPosts: "warn",
5959
},
6060
theme: {
61-
customCss: './src/css/custom.css',
61+
customCss: "./src/css/custom.css",
6262
},
6363
} satisfies Preset.Options,
6464
],
6565
],
6666

6767
themeConfig: {
6868
// Replace with your project's social card
69-
image: 'img/docusaurus-social-card.jpg',
69+
image: "img/docusaurus-social-card.jpg",
7070
navbar: {
71-
title: 'My Site',
71+
title: "My Site",
7272
logo: {
73-
alt: 'My Site Logo',
74-
src: 'img/logo.svg',
73+
alt: "My Site Logo",
74+
src: "img/logo.svg",
7575
},
7676
items: [
7777
{
78-
type: 'docSidebar',
79-
sidebarId: 'tutorialSidebar',
80-
position: 'left',
81-
label: 'Tutorial',
78+
type: "docSidebar",
79+
sidebarId: "tutorialSidebar",
80+
position: "left",
81+
label: "Tutorial",
8282
},
83-
{to: '/blog', label: 'Blog', position: 'left'},
83+
{ to: "/blog", label: "Blog", position: "left" },
8484
{
85-
href: 'https://github.com/facebook/docusaurus',
86-
label: 'GitHub',
87-
position: 'right',
85+
href: "https://github.com/facebook/docusaurus",
86+
label: "GitHub",
87+
position: "right",
8888
},
8989
],
9090
},
9191
footer: {
92-
style: 'dark',
92+
style: "dark",
9393
links: [
9494
{
95-
title: 'Docs',
95+
title: "Docs",
9696
items: [
9797
{
98-
label: 'Tutorial',
99-
to: '/docs/intro',
98+
label: "Tutorial",
99+
to: "/docs/intro",
100100
},
101101
],
102102
},
103103
{
104-
title: 'Community',
104+
title: "Community",
105105
items: [
106106
{
107-
label: 'Stack Overflow',
108-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
107+
label: "Stack Overflow",
108+
href: "https://stackoverflow.com/questions/tagged/docusaurus",
109109
},
110110
{
111-
label: 'Discord',
112-
href: 'https://discordapp.com/invite/docusaurus',
111+
label: "Discord",
112+
href: "https://discordapp.com/invite/docusaurus",
113113
},
114114
{
115-
label: 'X',
116-
href: 'https://x.com/docusaurus',
115+
label: "X",
116+
href: "https://x.com/docusaurus",
117117
},
118118
],
119119
},
120120
{
121-
title: 'More',
121+
title: "More",
122122
items: [
123123
{
124-
label: 'Blog',
125-
to: '/blog',
124+
label: "Blog",
125+
to: "/blog",
126126
},
127127
{
128-
label: 'GitHub',
129-
href: 'https://github.com/facebook/docusaurus',
128+
label: "GitHub",
129+
href: "https://github.com/facebook/docusaurus",
130130
},
131131
],
132132
},

0 commit comments

Comments
 (0)