@@ -42,20 +42,18 @@ const config = {
42
42
blogTitle : "Release Notes" ,
43
43
routeBasePath : "/release-notes" ,
44
44
blogSidebarTitle : "Release Notes" ,
45
- blogSidebarCount : ' ALL' ,
45
+ blogSidebarCount : " ALL" ,
46
46
} ,
47
47
docs : {
48
48
sidebarPath : require . resolve ( "./sidebars.js" ) ,
49
- // Please change this to your repo.
50
49
editUrl : "https://github.com/autobrr/autobrr.com/tree/main/" ,
51
- //sidebarCollapsible: false,
52
50
routeBasePath : "/" ,
53
51
showLastUpdateTime : false ,
54
52
includeCurrentVersion : true ,
55
53
lastVersion : "current" ,
56
54
versions : {
57
55
current : {
58
- label : "Latest" , // latest will always be the content of /docs
56
+ label : "Latest" ,
59
57
path : "" ,
60
58
banner : "none" ,
61
59
badge : true ,
@@ -115,8 +113,7 @@ const config = {
115
113
position : "left" ,
116
114
} ,
117
115
//{
118
- //{
119
- // type: "docsVersionDropdown", // disabling until its of use
116
+ // type: "docsVersionDropdown", // Reserved for future versioned documentation
120
117
// position: "left",
121
118
// dropdownActiveClassDisabled: false,
122
119
//},
@@ -139,13 +136,32 @@ const config = {
139
136
] ,
140
137
} ,
141
138
colorMode : {
142
- //defaultMode: "dark",
143
- respectPrefersColorScheme : true
139
+ //defaultMode: "dark",
140
+ respectPrefersColorScheme : true ,
144
141
} ,
145
142
prism : {
146
143
theme : themes . vsLight ,
147
144
darkTheme : themes . oceanicNext ,
148
- additionalLanguages : [ "systemd" , "nginx" , "toml" , "docker" , "bash" , "json" ] ,
145
+ additionalLanguages : [
146
+ "systemd" ,
147
+ "nginx" ,
148
+ "toml" ,
149
+ "docker" ,
150
+ "bash" ,
151
+ "json" ,
152
+ ] ,
153
+ } ,
154
+ zoom : {
155
+ selector : ".markdown img" ,
156
+ background : {
157
+ light : "rgba(255, 255, 255, 0.8)" ,
158
+ dark : "rgba(50, 50, 50, 0.8)" ,
159
+ } ,
160
+ config : {
161
+ margin : 24 ,
162
+ background : "#0D1117E6" ,
163
+ scrollOffset : 0 ,
164
+ } ,
149
165
} ,
150
166
} ,
151
167
@@ -158,7 +174,7 @@ const config = {
158
174
} ,
159
175
} ;
160
176
} ,
161
- // ...
177
+ "docusaurus-plugin-image-zoom" ,
162
178
] ,
163
179
} ;
164
180
0 commit comments