@@ -84,45 +84,80 @@ module.exports = {
8484
8585 plugins : [
8686 [
87- "@graphql-markdown/ docusaurus" ,
87+ "@docusaurus/plugin-client-redirects " ,
8888 {
89- schema : "./schema.graphql" ,
90- rootPath : "./docs" , // docs will be generated under rootPath/baseURL
91- baseURL : "api-reference" ,
92- homepage : "./template/api-reference.mdx" ,
93- linkRoot : "../../../" ,
94- loaders : {
95- GraphQLFileLoader : "@graphql-tools/graphql-file-loader" ,
96- } ,
97- groupByDirective : {
98- directive : "doc" ,
99- field : "category" ,
100- fallback : "Miscellaneous" ,
101- } ,
102- docOptions : {
103- frontMatter : {
104- api_reference : true ,
89+ redirects : [
90+ {
91+ to : "/quill_nrf52840_mesh_getting_started" ,
92+ from : [ "/product/f1101" , "/product/f1101/quickstart" ] ,
10593 } ,
106- } ,
107- printTypeOptions : {
108- hierarchy : "entity" ,
109- } ,
94+ {
95+ to : "/quill_esp32s3_mesh_getting_started" ,
96+ from : [ "/product/f1102" , "/product/f1102/quickstart" ] ,
97+ } ,
98+ {
99+ to : "/mesh_solar_power_getting_started" ,
100+ from : [ "/product/f2101" , "/product/f2101/quickstart" ] ,
101+ } ,
102+ {
103+ to : "/mesh_tracker_c1_getting_started" ,
104+ from : [ "/product/f2102" , "/product/f2102/quickstart" ] ,
105+ } ,
106+ {
107+ to : "/breakout_lps22_getting_started" ,
108+ from : [ "/product/f2201" , "/product/f2201/quickstart" ] ,
109+ } ,
110+ {
111+ to : "/breakout_sht40_getting_started" ,
112+ from : [ "/product/f2202" , "/product/f2202/quickstart" ] ,
113+ } ,
114+ {
115+ to : "/breakout_oled_0_42_getting_started" ,
116+ from : [ "/product/f2203" , "/product/f2203/quickstart" ] ,
117+ } ,
118+ {
119+ to : "/breakout_bm8563_getting_started" ,
120+ from : [ "/product/f2204" , "/product/f2204/quickstart" ] ,
121+ } ,
122+ {
123+ to : "/breakout_ens160_getting_started" ,
124+ from : [ "/product/f2205" , "/product/f2205/quickstart" ] ,
125+ } ,
126+ {
127+ to : "/breakout_as5600_getting_started" ,
128+ from : [ "/product/f2206" , "/product/f2206/quickstart" ] ,
129+ } ,
130+ {
131+ to : "/breakout_l76k_getting_started" ,
132+ from : [ "/product/f2207" , "/product/f2207/quickstart" ] ,
133+ } ,
134+ {
135+ to : "/breakout_ads1115_getting_started" ,
136+ from : [ "/product/f2208" , "/product/f2208/quickstart" ] ,
137+ } ,
138+ {
139+ to : "/breakout_gp8303_getting_started" ,
140+ from : [ "/product/f2209" , "/product/f2209/quickstart" ] ,
141+ } ,
142+ {
143+ to : "/breakout_gp8403_getting_started" ,
144+ from : [ "/product/f2210" , "/product/f2210/quickstart" ] ,
145+ } ,
146+ {
147+ to : "/breakout_cmsis_dap_lite_getting_started" ,
148+ from : [ "/product/f2211" , "/product/f2211/quickstart" ] ,
149+ } ,
150+ {
151+ to : "/breakout_mfp_hub_getting_started" ,
152+ from : [ "/product/f2212" , "/product/f2212/quickstart" ] ,
153+ } ,
154+ {
155+ to : "/core_nrf52840_mesh_getting_started" ,
156+ from : [ "/product/f6001" , "/product/f6001/quickstart" ] ,
157+ } ,
158+ ] ,
110159 } ,
111160 ] ,
112- // Disabling due to known bug which causes slowdowns in the build process
113- // https://github.com/facebook/docusaurus/discussions/11199
114- function disableExpensiveBundlerOptimizationPlugin ( ) {
115- return {
116- name : "disable-expensive-bundler-optimizations" ,
117- configureWebpack ( _config , isServer ) {
118- return {
119- optimization : {
120- concatenateModules : false ,
121- } ,
122- } ;
123- } ,
124- } ;
125- } ,
126161 ] ,
127162
128163 themeConfig : {
0 commit comments