@seqera/docusaurus-preset-seqera 1.0.2-next.10 → 1.0.2-next.12
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/index.js +1 -2
- package/package.json +1 -1
- package/src/index.ts +1 -4
package/lib/index.js
CHANGED
|
@@ -30,9 +30,8 @@ function preset(context, opts = {}) {
|
|
|
30
30
|
if (algolia) {
|
|
31
31
|
themes.push(require.resolve('@docusaurus/theme-search-algolia'));
|
|
32
32
|
}
|
|
33
|
-
themes.push(makePluginConfig('docusaurus-theme-search-typesense', theme));
|
|
34
|
-
// Add Seqera theme LAST so it takes precedence
|
|
35
33
|
themes.push(makePluginConfig('@seqera/docusaurus-theme-seqera', theme));
|
|
34
|
+
themes.push(makePluginConfig('docusaurus-theme-search-typesense', theme));
|
|
36
35
|
if ('gtag' in themeConfig) {
|
|
37
36
|
throw new Error('The "gtag" field in themeConfig should now be specified as option for plugin-google-gtag. For preset-classic, simply move themeConfig.gtag to preset options. More information at https://github.com/facebook/docusaurus/pull/5832.');
|
|
38
37
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -54,11 +54,8 @@ export default function preset(
|
|
|
54
54
|
if (algolia) {
|
|
55
55
|
themes.push(require.resolve('@docusaurus/theme-search-algolia'));
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
themes.push(makePluginConfig('docusaurus-theme-search-typesense', theme));
|
|
59
|
-
|
|
60
|
-
// Add Seqera theme LAST so it takes precedence
|
|
61
57
|
themes.push(makePluginConfig('@seqera/docusaurus-theme-seqera', theme));
|
|
58
|
+
themes.push(makePluginConfig('docusaurus-theme-search-typesense', theme));
|
|
62
59
|
|
|
63
60
|
if ('gtag' in themeConfig) {
|
|
64
61
|
throw new Error(
|