@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 CHANGED
@@ -161,4 +161,4 @@
161
161
  font-weight: 900;
162
162
  font-style: normal;
163
163
  font-display: swap;
164
- }
164
+ }
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
- // Fix postman-code-generators Node.js path polyfill
84
- plugins.push(function webpackPlugin() {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seqera/docusaurus-preset-seqera",
3
- "version": "1.0.32-next.104",
3
+ "version": "1.0.33-next.106",
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/fonts.css CHANGED
@@ -161,4 +161,4 @@
161
161
  font-weight: 900;
162
162
  font-style: normal;
163
163
  font-display: swap;
164
- }
164
+ }
package/src/index.ts CHANGED
@@ -123,21 +123,8 @@ export default function preset(
123
123
  );
124
124
  }
125
125
 
126
- // Fix postman-code-generators Node.js path polyfill
127
- plugins.push(function webpackPlugin() {
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