@seqera/docusaurus-preset-seqera 1.0.32-next.104 → 1.0.33-next.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/fonts.css +1 -1
- package/lib/index.js +2 -17
- package/package.json +1 -1
- package/src/fonts.css +1 -1
- package/src/index.ts +2 -18
package/lib/fonts.css
CHANGED
package/lib/index.js
CHANGED
|
@@ -80,21 +80,8 @@ function preset(context, opts = {}) {
|
|
|
80
80
|
if (Object.keys(rest).length > 0) {
|
|
81
81
|
throw new Error(`Unrecognized keys ${Object.keys(rest).join(', ')} found in preset-classic configuration. The allowed keys are debug, docs, blog, pages, sitemap, theme, googleAnalytics, gtag, and googleTagManager. Check the documentation: https://docusaurus.io/docs/using-plugins#docusauruspreset-classic for more information on how to configure individual plugins.`);
|
|
82
82
|
}
|
|
83
|
-
//
|
|
84
|
-
plugins.push(
|
|
85
|
-
return {
|
|
86
|
-
name: 'seqera-webpack-config',
|
|
87
|
-
configureWebpack() {
|
|
88
|
-
return {
|
|
89
|
-
resolve: {
|
|
90
|
-
fallback: {
|
|
91
|
-
path: false,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
});
|
|
83
|
+
// Add home page plugin
|
|
84
|
+
plugins.push(homePagePlugin_1.default);
|
|
98
85
|
// Serve static font files from preset
|
|
99
86
|
plugins.push(function fontPlugin() {
|
|
100
87
|
return {
|
|
@@ -107,8 +94,6 @@ function preset(context, opts = {}) {
|
|
|
107
94
|
},
|
|
108
95
|
};
|
|
109
96
|
});
|
|
110
|
-
// Add home page plugin
|
|
111
|
-
plugins.push(homePagePlugin_1.default);
|
|
112
97
|
return { themes, plugins };
|
|
113
98
|
}
|
|
114
99
|
// Universal Docusaurus theme config
|
package/package.json
CHANGED
package/src/fonts.css
CHANGED
package/src/index.ts
CHANGED
|
@@ -123,21 +123,8 @@ export default function preset(
|
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
//
|
|
127
|
-
plugins.push(
|
|
128
|
-
return {
|
|
129
|
-
name: 'seqera-webpack-config',
|
|
130
|
-
configureWebpack() {
|
|
131
|
-
return {
|
|
132
|
-
resolve: {
|
|
133
|
-
fallback: {
|
|
134
|
-
path: false,
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
};
|
|
138
|
-
},
|
|
139
|
-
};
|
|
140
|
-
});
|
|
126
|
+
// Add home page plugin
|
|
127
|
+
plugins.push(homePagePlugin);
|
|
141
128
|
|
|
142
129
|
// Serve static font files from preset
|
|
143
130
|
plugins.push(function fontPlugin() {
|
|
@@ -152,9 +139,6 @@ export default function preset(
|
|
|
152
139
|
};
|
|
153
140
|
});
|
|
154
141
|
|
|
155
|
-
// Add home page plugin
|
|
156
|
-
plugins.push(homePagePlugin);
|
|
157
|
-
|
|
158
142
|
return {themes, plugins};
|
|
159
143
|
}
|
|
160
144
|
|