|
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"; |
4 | 4 |
|
5 | 5 | // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) |
6 | 6 |
|
7 | 7 | 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", |
11 | 11 |
|
12 | 12 | // Set the production url of your site here |
13 | | - url: 'https://your-docusaurus-site.example.com', |
| 13 | + url: "https://your-docusaurus-site.example.com", |
14 | 14 | // Set the /<baseUrl>/ pathname under which your site is served |
15 | 15 | // For GitHub pages deployment, it is often '/<projectName>/' |
16 | | - baseUrl: '/', |
| 16 | + baseUrl: "https://chbasitgill.github.io/basitjamil/", |
17 | 17 |
|
18 | 18 | // GitHub pages deployment config. |
19 | 19 | // 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. |
22 | 22 |
|
23 | | - onBrokenLinks: 'throw', |
24 | | - onBrokenMarkdownLinks: 'warn', |
| 23 | + onBrokenLinks: "throw", |
| 24 | + onBrokenMarkdownLinks: "warn", |
25 | 25 |
|
26 | 26 | // Even if you don't use internationalization, you can use this field to set |
27 | 27 | // useful metadata like html lang. For example, if your site is Chinese, you |
28 | 28 | // may want to replace "en" with "zh-Hans". |
29 | 29 | i18n: { |
30 | | - defaultLocale: 'en', |
31 | | - locales: ['en'], |
| 30 | + defaultLocale: "en", |
| 31 | + locales: ["en"], |
32 | 32 | }, |
33 | 33 |
|
34 | 34 | presets: [ |
35 | 35 | [ |
36 | | - 'classic', |
| 36 | + "classic", |
37 | 37 | { |
38 | 38 | docs: { |
39 | | - sidebarPath: './sidebars.ts', |
| 39 | + sidebarPath: "./sidebars.ts", |
40 | 40 | // Please change this to your repo. |
41 | 41 | // Remove this to remove the "edit this page" links. |
42 | 42 | 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/", |
44 | 44 | }, |
45 | 45 | blog: { |
46 | 46 | showReadingTime: true, |
47 | 47 | feedOptions: { |
48 | | - type: ['rss', 'atom'], |
| 48 | + type: ["rss", "atom"], |
49 | 49 | xslt: true, |
50 | 50 | }, |
51 | 51 | // Please change this to your repo. |
52 | 52 | // Remove this to remove the "edit this page" links. |
53 | 53 | 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/", |
55 | 55 | // 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", |
59 | 59 | }, |
60 | 60 | theme: { |
61 | | - customCss: './src/css/custom.css', |
| 61 | + customCss: "./src/css/custom.css", |
62 | 62 | }, |
63 | 63 | } satisfies Preset.Options, |
64 | 64 | ], |
65 | 65 | ], |
66 | 66 |
|
67 | 67 | themeConfig: { |
68 | 68 | // Replace with your project's social card |
69 | | - image: 'img/docusaurus-social-card.jpg', |
| 69 | + image: "img/docusaurus-social-card.jpg", |
70 | 70 | navbar: { |
71 | | - title: 'My Site', |
| 71 | + title: "My Site", |
72 | 72 | logo: { |
73 | | - alt: 'My Site Logo', |
74 | | - src: 'img/logo.svg', |
| 73 | + alt: "My Site Logo", |
| 74 | + src: "img/logo.svg", |
75 | 75 | }, |
76 | 76 | items: [ |
77 | 77 | { |
78 | | - type: 'docSidebar', |
79 | | - sidebarId: 'tutorialSidebar', |
80 | | - position: 'left', |
81 | | - label: 'Tutorial', |
| 78 | + type: "docSidebar", |
| 79 | + sidebarId: "tutorialSidebar", |
| 80 | + position: "left", |
| 81 | + label: "Tutorial", |
82 | 82 | }, |
83 | | - {to: '/blog', label: 'Blog', position: 'left'}, |
| 83 | + { to: "/blog", label: "Blog", position: "left" }, |
84 | 84 | { |
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", |
88 | 88 | }, |
89 | 89 | ], |
90 | 90 | }, |
91 | 91 | footer: { |
92 | | - style: 'dark', |
| 92 | + style: "dark", |
93 | 93 | links: [ |
94 | 94 | { |
95 | | - title: 'Docs', |
| 95 | + title: "Docs", |
96 | 96 | items: [ |
97 | 97 | { |
98 | | - label: 'Tutorial', |
99 | | - to: '/docs/intro', |
| 98 | + label: "Tutorial", |
| 99 | + to: "/docs/intro", |
100 | 100 | }, |
101 | 101 | ], |
102 | 102 | }, |
103 | 103 | { |
104 | | - title: 'Community', |
| 104 | + title: "Community", |
105 | 105 | items: [ |
106 | 106 | { |
107 | | - label: 'Stack Overflow', |
108 | | - href: 'https://stackoverflow.com/questions/tagged/docusaurus', |
| 107 | + label: "Stack Overflow", |
| 108 | + href: "https://stackoverflow.com/questions/tagged/docusaurus", |
109 | 109 | }, |
110 | 110 | { |
111 | | - label: 'Discord', |
112 | | - href: 'https://discordapp.com/invite/docusaurus', |
| 111 | + label: "Discord", |
| 112 | + href: "https://discordapp.com/invite/docusaurus", |
113 | 113 | }, |
114 | 114 | { |
115 | | - label: 'X', |
116 | | - href: 'https://x.com/docusaurus', |
| 115 | + label: "X", |
| 116 | + href: "https://x.com/docusaurus", |
117 | 117 | }, |
118 | 118 | ], |
119 | 119 | }, |
120 | 120 | { |
121 | | - title: 'More', |
| 121 | + title: "More", |
122 | 122 | items: [ |
123 | 123 | { |
124 | | - label: 'Blog', |
125 | | - to: '/blog', |
| 124 | + label: "Blog", |
| 125 | + to: "/blog", |
126 | 126 | }, |
127 | 127 | { |
128 | | - label: 'GitHub', |
129 | | - href: 'https://github.com/facebook/docusaurus', |
| 128 | + label: "GitHub", |
| 129 | + href: "https://github.com/facebook/docusaurus", |
130 | 130 | }, |
131 | 131 | ], |
132 | 132 | }, |
|
0 commit comments