-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpluginsChangelog.ts
104 lines (103 loc) · 2.44 KB
/
pluginsChangelog.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
export const pluginsChangelog = [
[
"docusaurus-plugin-remote-content",
{
name: "helm-changelog",
sourceBaseUrl: "https://raw.githubusercontent.com/seriohub/velero-helm/main/",
outDir: "releases/changelog",
documents: ["CHANGELOG.md"],
modifyContent(filename, content) {
return {
filename: "helm.md",
content: `---
sidebar_label: 'Helm'
sidebar_position: 1
description: HELM changelog
---
${content}`,
};
},
},
],
[
"docusaurus-plugin-remote-content",
{
name: "api-changelog",
sourceBaseUrl: "https://raw.githubusercontent.com/seriohub/velero-api/main/",
outDir: "releases/changelog",
documents: ["CHANGELOG.md"],
modifyContent(filename, content) {
return {
filename: "api.md",
content: `---
sidebar_label: 'API'
sidebar_position: 2
description: API changelog
---
${content}`,
};
},
},
],
[
"docusaurus-plugin-remote-content",
{
name: "ui-changelog",
sourceBaseUrl: "https://raw.githubusercontent.com/seriohub/velero-ui/main/",
outDir: "releases/changelog",
documents: ["CHANGELOG.md"],
modifyContent(filename, content) {
return {
filename: "ui.md",
content: `---
sidebar_label: 'UI'
sidebar_position: 3
description: UI changelog
---
${content}`,
};
},
},
],
[
"docusaurus-plugin-remote-content",
{
name: "watchdog-changelog",
sourceBaseUrl: "https://raw.githubusercontent.com/seriohub/velero-watchdog/main/",
outDir: "releases/changelog",
documents: ["CHANGELOG.md"],
modifyContent(filename, content) {
return {
filename: "watchdog.md",
content: `---
sidebar_label: 'Watchdog'
sidebar_position: 4
description: Watchdog changelog
---
${content}`,
};
},
},
],
[
"docusaurus-plugin-remote-content",
{
name: "helm-components",
sourceBaseUrl: "https://raw.githubusercontent.com/seriohub/velero-helm/main/",
outDir: "releases/",
documents: ["components.txt"],
modifyContent(filename, content) {
return {
filename: "releases.md",
content: `---
sidebar_label: 'Version'
sidebar_position: 15
description: 'Helm released versions'
---
Below is the table of released Helm versions, application versions, and component compatibility versions.
${content}`,
};
},
},
],
];