Skip to content

Commit f4c599f

Browse files
Add v1.4 API doc to docusaurus.config.js (#679)
* Add v1.4 api doc to docusaurus.config.js Signed-off-by: Jillian <[email protected]> * Update version for readme redirect link Signed-off-by: Jillian <[email protected]> --------- Signed-off-by: Jillian <[email protected]>
1 parent e645947 commit f4c599f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docusaurus.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const config = {
266266
{
267267
redirects: [
268268
{ // Redirects for links in the Harvester README.md file
269-
to: '/v1.1/install/pxe-boot-install',
269+
to: '/v1.4/install/pxe-boot-install',
270270
from: '/latest/install/pxe-boot-install'
271271
},
272272
],
@@ -289,6 +289,12 @@ const config = {
289289
label: "dev", // Current version label
290290
baseUrl: "/dev/api", // Leading slash is important
291291
versions: {
292+
"v1.4": {
293+
specPath: "api/v1.4-swagger.json",
294+
outputDir: "versioned_docs/version-v1.4/api", // No trailing slash
295+
label: "v1.4",
296+
baseUrl: "/v1.4/api", // Leading slash is important
297+
},
292298
"v1.3": {
293299
specPath: "api/v1.3-swagger.json",
294300
outputDir: "versioned_docs/version-v1.3/api", // No trailing slash

0 commit comments

Comments
 (0)