@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 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seqera/docusaurus-preset-seqera",
3
- "version": "1.0.2-next.10",
3
+ "version": "1.0.2-next.12",
4
4
  "description": "Docusaurus preset for Seqera docs",
5
5
  "author": "Seqera docs team <education@seqera.io>",
6
6
  "license": "Apache-2.0",
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(