1
- // @ts -check
2
- // Note: type annotations allow type checking and IDEs autocompletion
3
-
4
1
const lightCodeTheme = require ( 'prism-react-renderer/themes/github' ) ;
5
2
const darkCodeTheme = require ( 'prism-react-renderer/themes/dracula' ) ;
6
3
@@ -10,23 +7,13 @@ const config = {
10
7
tagline : `If you are not taking notes, you are not learning!` ,
11
8
favicon : 'img/logo.png' ,
12
9
13
- // Set the production url of your site here
14
10
url : 'https://your-docusaurus-test-site.com' ,
15
- // Set the /<baseUrl>/ pathname under which your site is served
16
- // For GitHub pages deployment, it is often '/<projectName>/'
17
11
baseUrl : '/' ,
18
-
19
- // GitHub pages deployment config.
20
- // If you aren't using GitHub pages, you don't need these.
21
- organizationName : 'mutasim77' , // Usually your GitHub org/user name.
22
- projectName : 'ReactJS-Notebook' , // Usually your repo name.
12
+ organizationName : 'mutasim77' ,
13
+ projectName : 'ReactJS-Notebook' ,
23
14
24
15
onBrokenLinks : 'throw' ,
25
16
onBrokenMarkdownLinks : 'warn' ,
26
-
27
- // Even if you don't use internalization, you can use this field to set useful
28
- // metadata like html lang. For example, if your site is Chinese, you may want
29
- // to replace "en" with "zh-Hans".
30
17
i18n : {
31
18
defaultLocale : 'en' ,
32
19
locales : [ 'en' ] ,
@@ -84,25 +71,25 @@ const config = {
84
71
title : 'Docs' ,
85
72
items : [
86
73
{
87
- label : 'Tutorial ' ,
74
+ label : 'Notes ' ,
88
75
to : '/docs/introduction' ,
89
76
} ,
77
+ {
78
+ label : 'Hooks' ,
79
+ to : '/docs/Hooks/react-hooks' ,
80
+ } ,
90
81
] ,
91
82
} ,
92
83
{
93
84
title : 'Community' ,
94
85
items : [
95
- {
96
- label : 'Stack Overflow' ,
97
- href : 'https://stackoverflow.com/questions/tagged/docusaurus' ,
98
- } ,
99
86
{
100
87
label : 'Discord' ,
101
- href : 'https://discordapp.com/invite/docusaurus ' ,
88
+ href : 'https://discordapp.com/users/mvtasim ' ,
102
89
} ,
103
90
{
104
91
label : 'Twitter' ,
105
- href : 'https://twitter.com/docusaurus ' ,
92
+ href : 'https://twitter.com/mvtasim77 ' ,
106
93
} ,
107
94
] ,
108
95
} ,
@@ -111,16 +98,16 @@ const config = {
111
98
items : [
112
99
{
113
100
label : 'Blog' ,
114
- to : '/blog' ,
101
+ href : '/blog'
115
102
} ,
116
103
{
117
104
label : 'GitHub' ,
118
- href : 'https://github.com/facebook/docusaurus ' ,
105
+ href : 'https://github.com/mutasim77/ReactJS-Notebook ' ,
119
106
} ,
120
107
] ,
121
108
} ,
122
109
] ,
123
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } My Project, Inc. Built with Docusaurus. ` ,
110
+ copyright : `Copyright © 2022 - ${ new Date ( ) . getFullYear ( ) } Mutasim ` ,
124
111
} ,
125
112
prism : {
126
113
theme : lightCodeTheme ,
0 commit comments