File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 12122 . Update the tutorials for introducing the newly implemented downloader components.
13133 . Update the example script explanation ` /examples/download-file ` .
14144 . Update the API documents to the newest version (` v0.2.0 ` ).
15+ 5 . Configure DocSearch and GTag.
1516
1617#### :wrench : Fix
1718
Original file line number Diff line number Diff line change @@ -75,6 +75,10 @@ const config: Config = {
7575 theme : {
7676 customCss : "./src/css/custom.scss" ,
7777 } ,
78+ gtag : {
79+ trackingID : "G-55X12MPFL7" ,
80+ anonymizeIP : true ,
81+ } ,
7882 } satisfies Preset . Options ,
7983 ] ,
8084 ] ,
@@ -184,6 +188,16 @@ const config: Config = {
184188 ] ,
185189 copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } Dash File Cache, Yuchen Jin. Built with Docusaurus.` ,
186190 } ,
191+ algolia : {
192+ apiKey : "182ee57d42f4d42013a9061271326593" ,
193+ indexName : "cainmagiio" ,
194+ // APP id
195+ appId : "D0JIJY0Y1T" ,
196+ // Optional: make the search sensitive to sub-routing.
197+ contextualSearch : true ,
198+ // Optional: Algolia search parameters
199+ searchParameters : { facetFilters : [ "type:content" ] } ,
200+ } ,
187201 prism : {
188202 theme : prismThemes . github ,
189203 darkTheme : prismThemes . vsDark ,
You can’t perform that action at this time.
0 commit comments