@@ -6,116 +6,106 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
6
6
7
7
/** @type {import('@docusaurus/types').Config } */
8
8
const config = {
9
- title : "Win11React" ,
10
- url : "https://win11docs.asylum-os.com" ,
11
- baseUrl : "/" ,
12
- tagline : "Windows 11 in React" ,
13
- onBrokenLinks : "throw" ,
14
- onBrokenMarkdownLinks : "warn" ,
15
- favicon : "favicon.ico" ,
16
- organizationName : "win11react" , // Usually your GitHub org/user name.
17
- projectName : "docs" , // Usually your repo name.
9
+ title : "Win11React" ,
10
+ url : "https://win11docs.asylum-os.com" ,
11
+ baseUrl : "/" ,
12
+ tagline : "Windows 11 in React" ,
13
+ onBrokenLinks : "throw" ,
14
+ onBrokenMarkdownLinks : "warn" ,
15
+ favicon : "favicon.ico" ,
16
+ organizationName : "win11react" , // Usually your GitHub org/user name.
17
+ projectName : "docs" , // Usually your repo name.
18
18
19
- presets : [
20
- [
21
- "classic" ,
22
- /** @type {import('@docusaurus/preset-classic').Options } */
23
- ( {
24
- docs : {
25
- sidebarPath : require . resolve ( "./sidebars.js" ) ,
26
- // Please change this to your repo.
27
- editUrl : "https://github.com/win11react/docs/edit/main/" ,
28
- } ,
29
- blog : {
30
- showReadingTime : true ,
31
- // Please change this to your repo.
32
- editUrl : "https://github.com/win11react/docs/edit/main/blog/" ,
33
- } ,
34
- theme : {
35
- customCss : require . resolve ( "./src/css/custom.css" ) ,
36
- } ,
37
- } ) ,
38
- ] ,
39
- ] ,
19
+ presets : [
20
+ [
21
+ "classic" ,
22
+ /** @type {import('@docusaurus/preset-classic').Options } */
23
+ ( {
24
+ docs : {
25
+ sidebarPath : require . resolve ( "./sidebars.js" ) ,
26
+ // Please change this to your repo.
27
+ editUrl : "https://github.com/win11react/docs/edit/main/" ,
28
+ } ,
29
+ theme : {
30
+ customCss : require . resolve ( "./src/css/custom.css" ) ,
31
+ } ,
32
+ } ) ,
33
+ ] ,
34
+ ] ,
40
35
41
- themeConfig :
42
- /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
43
- {
44
- colorMode : {
45
- respectPrefersColorScheme : true ,
46
- } ,
47
- navbar : {
48
- title : "Win11React" ,
49
- logo : {
50
- alt : "Win11React Logo" ,
51
- src : "img/logo.png" ,
52
- } ,
53
- items : [
54
- {
55
- type : "doc" ,
56
- docId : "about" ,
57
- position : "left" ,
58
- label : "Docs" ,
59
- } ,
60
- { to : "/blog" , label : "Blog" , position : "left" } ,
61
- {
62
- href : "https://win11.blueedge.me/" ,
63
- label : "Win11React" ,
64
- position : "right" ,
65
- } ,
66
- ] ,
67
- hideOnScroll : true ,
68
- } ,
69
- footer : {
70
- style : "light" ,
71
- links : [
72
- {
73
- title : "Docs" ,
74
- items : [
75
- {
76
- label : "Tutorial" ,
77
- to : "/docs/about" ,
78
- } ,
79
- {
80
- label : "Blog" ,
81
- to : "/blog" ,
82
- } ,
83
- ] ,
84
- } ,
85
- {
86
- title : "Community" ,
87
- items : [
88
- {
89
- label : "Discord" ,
90
- href : "https://discord.gg/qmEZwUhb4b" ,
91
- } ,
92
- {
93
- label : "Github" ,
94
- href : "https://github.com/blueedgetechno/win11React" ,
95
- } ,
96
- ] ,
97
- } ,
98
- {
99
- title : "More" ,
100
- items : [
101
- {
102
- label : "Win11React" ,
103
- href : "https://win11.blueedge.me/" ,
104
- } ,
105
- {
106
- label : "Status" ,
107
- href : "https://win11react.github.io/status/" ,
108
- } ,
109
- ] ,
110
- } ,
111
- ] ,
112
- copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Bluedge. Built with ReactJS.` ,
113
- } ,
114
- prism : {
115
- theme : lightCodeTheme ,
116
- darkTheme : darkCodeTheme ,
117
- } ,
118
- } ,
36
+ themeConfig :
37
+ /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
38
+ {
39
+ colorMode : {
40
+ respectPrefersColorScheme : true ,
41
+ } ,
42
+ navbar : {
43
+ title : "Win11React" ,
44
+ logo : {
45
+ alt : "Win11React Logo" ,
46
+ src : "img/logo.png" ,
47
+ } ,
48
+ items : [
49
+ {
50
+ type : "doc" ,
51
+ docId : "about" ,
52
+ position : "left" ,
53
+ label : "Docs" ,
54
+ } ,
55
+ {
56
+ href : "https://win11.blueedge.me/" ,
57
+ label : "Win11React" ,
58
+ position : "right" ,
59
+ } ,
60
+ ] ,
61
+ hideOnScroll : true ,
62
+ } ,
63
+ footer : {
64
+ style : "light" ,
65
+ links : [
66
+ {
67
+ title : "Docs" ,
68
+ items : [
69
+ {
70
+ label : "Tutorial" ,
71
+ to : "/docs/about" ,
72
+ } ,
73
+ ] ,
74
+ } ,
75
+ {
76
+ title : "Community" ,
77
+ items : [
78
+ {
79
+ label : "Discord" ,
80
+ href : "https://discord.gg/qmEZwUhb4b" ,
81
+ } ,
82
+ {
83
+ label : "Github" ,
84
+ href : "https://github.com/blueedgetechno/win11React" ,
85
+ } ,
86
+ ] ,
87
+ } ,
88
+ {
89
+ title : "More" ,
90
+ items : [
91
+ {
92
+ label : "Win11React" ,
93
+ href : "https://win11.blueedge.me/" ,
94
+ } ,
95
+ {
96
+ label : "Status" ,
97
+ href : "https://win11react.github.io/status/" ,
98
+ } ,
99
+ ] ,
100
+ } ,
101
+ ] ,
102
+ copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Blue edge.` ,
103
+ } ,
104
+ prism : {
105
+ theme : lightCodeTheme ,
106
+ darkTheme : darkCodeTheme ,
107
+ } ,
108
+ } ,
119
109
} ;
120
110
121
111
module . exports = config ;
0 commit comments