@@ -19,7 +19,7 @@ const config: Config = {
1919
2020 i18n : {
2121 defaultLocale : "en" ,
22- locales : [ "en" ]
22+ locales : [ "en" ] ,
2323 } ,
2424
2525 presets : [
@@ -33,25 +33,25 @@ const config: Config = {
3333 editUrl : "https://github.com/gpbl/react-day-picker/tree/main/website" ,
3434 remarkPlugins : [
3535 require ( "@docusaurus/remark-plugin-npm2yarn" ) ,
36- [ require ( "remark-github" ) , { repository : "gpbl/react-day-picker" } ]
36+ [ require ( "remark-github" ) , { repository : "gpbl/react-day-picker" } ] ,
3737 ] ,
3838 lastVersion : "current" ,
3939 versions : {
4040 "8.10.1" : {
4141 label : "8.10.1" ,
4242 badge : true ,
43- path : "/v8"
43+ path : "/v8" ,
4444 } ,
4545 current : {
4646 label : `${ pkg . version } ` ,
4747 path : "/" ,
48- badge : false
49- }
50- }
48+ badge : false ,
49+ } ,
50+ } ,
5151 } ,
5252 blog : false ,
5353 theme : {
54- customCss : [ "./src/css/custom.css" , "../src/style.css" ]
54+ customCss : [ "./src/css/custom.css" , "../src/style.css" ] ,
5555 } ,
5656 sitemap : {
5757 lastmod : "date" ,
@@ -63,40 +63,40 @@ const config: Config = {
6363 const { defaultCreateSitemapItems, ...rest } = params ;
6464 const items = await defaultCreateSitemapItems ( rest ) ;
6565 return items . filter ( ( item ) => ! item . url . includes ( "/page/" ) ) ;
66- }
67- }
68- } satisfies Preset . Options
69- ]
66+ } ,
67+ } ,
68+ } satisfies Preset . Options ,
69+ ] ,
7070 ] ,
7171
7272 plugins : [
7373 [
7474 "docusaurus-plugin-typedoc" ,
7575 {
7676 entryPoints : [ "../src/index.ts" ] ,
77- tsconfig : "../tsconfig-docs.json"
78- }
77+ tsconfig : "../tsconfig-docs.json" ,
78+ } ,
7979 ] ,
8080 [
8181 "@docusaurus/plugin-client-redirects" ,
8282 {
8383 redirects : [
8484 {
8585 to : "/guides/accessibility" ,
86- from : [ "/docs/accessibility" ]
87- }
88- ]
89- }
90- ]
86+ from : [ "/docs/accessibility" ] ,
87+ } ,
88+ ] ,
89+ } ,
90+ ] ,
9191 ] ,
9292
9393 scripts : [
9494 {
9595 src : "/q/p/script.js" ,
9696 defer : true ,
9797 "data-domain" : "daypicker.dev" ,
98- "data-api" : "/q/a/event"
99- }
98+ "data-api" : "/q/a/event" ,
99+ } ,
100100 ] ,
101101
102102 themeConfig : {
@@ -105,25 +105,25 @@ const config: Config = {
105105 {
106106 name : "og:description" ,
107107 content :
108- "Date picker component for React. Add date pickers, calendars, and date inputs to your web applications."
108+ "Date picker component for React. Add date pickers, calendars, and date inputs to your web applications." ,
109109 } ,
110110 {
111111 name : "description" ,
112112 content :
113- "Date picker component for React. Add date pickers, calendars, and date inputs to your web applications."
113+ "Date picker component for React. Add date pickers, calendars, and date inputs to your web applications." ,
114114 } ,
115115 {
116116 name : "keywords" ,
117117 content :
118- "date picker, react component, calendar component, react datepicker, daypicker, react day picker, date-fns date picker, typescript date picker"
119- }
118+ "date picker, react component, calendar component, react datepicker, daypicker, react day picker, date-fns date picker, typescript date picker" ,
119+ } ,
120120 ] ,
121121 navbar : {
122122 title : "React DayPicker" ,
123123 logo : {
124124 alt : "DayPicker Logo" ,
125125 src : "img/logo.png" ,
126- srcDark : "img/logo-dark.png"
126+ srcDark : "img/logo-dark.png" ,
127127 } ,
128128 items : [
129129 {
@@ -134,62 +134,62 @@ const config: Config = {
134134 dropdownItemsAfter : [
135135 {
136136 href : "https://react-day-picker-v7.netlify.app" ,
137- label : "7.4.10"
138- }
139- ]
137+ label : "7.4.10" ,
138+ } ,
139+ ] ,
140140 } ,
141141 {
142142 type : "docSidebar" ,
143143 sidebarId : "docs" ,
144144 position : "left" ,
145- label : "Documentation"
145+ label : "Documentation" ,
146146 } ,
147147 {
148148 href : "/playground" ,
149149 label : "Playground" ,
150- position : "left"
150+ position : "left" ,
151151 } ,
152152 {
153153 type : "docSidebar" ,
154154 sidebarId : "api" ,
155155 position : "left" ,
156- label : "API Reference"
156+ label : "API Reference" ,
157157 } ,
158158
159159 {
160160 href : "https://github.com/gpbl/react-day-picker/discussions" ,
161161 label : "Support" ,
162- position : "right"
162+ position : "right" ,
163163 } ,
164164 {
165165 href : "https://github.com/gpbl/react-day-picker" ,
166166 label : "GitHub" ,
167- position : "right"
168- }
169- ]
167+ position : "right" ,
168+ } ,
169+ ] ,
170170 } ,
171171 footer : undefined ,
172172 prism : {
173173 additionalLanguages : [ "bash" , "diff" , "json" , "css" ] ,
174174 theme : prismThemes . vsLight ,
175- darkTheme : prismThemes . dracula
175+ darkTheme : prismThemes . dracula ,
176176 } ,
177177 algolia : {
178178 appId : "N44150BS2A" ,
179179 apiKey : "263c558c76fc0b83a5def5fb818391d7" ,
180180 indexName : "react-day-picker-js" ,
181181 contextualSearch : true ,
182- searchPagePath : "search"
182+ searchPagePath : "search" ,
183183 } ,
184184 colorMode : {
185185 defaultMode : "light" ,
186- respectPrefersColorScheme : true
187- }
186+ respectPrefersColorScheme : true ,
187+ } ,
188188 } ,
189189 future : {
190190 v4 : true ,
191- experimental_faster : true
192- } satisfies Preset . ThemeConfig
191+ experimental_faster : true ,
192+ } satisfies Preset . ThemeConfig ,
193193} ;
194194
195195export default config ;
0 commit comments