Skip to content

Commit 35b1217

Browse files
author
Laegel
committed
Merge branch 'dev' of github.com:tauri-apps/tauri-docs into dev
2 parents f94adf8 + fe907ef commit 35b1217

File tree

2 files changed

+24
-13
lines changed

2 files changed

+24
-13
lines changed

src/pages/release-notes.js

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,34 @@ import styles from './styles.module.css'
1313

1414
const packagesData = [
1515
{
16-
label: 'Rust CLI',
16+
label: 'Core',
17+
value: 'core',
18+
changelogUrl:
19+
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri/CHANGELOG.md',
20+
},
21+
{
22+
label: 'CLI',
1723
value: 'cli.rs',
1824
changelogUrl:
1925
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli.rs/CHANGELOG.md',
2026
},
2127
{
22-
label: 'Node.js CLI',
23-
value: 'cli.js',
28+
label: 'Bundler',
29+
value: 'bundler',
2430
changelogUrl:
25-
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli.js/CHANGELOG.md',
31+
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/bundler/CHANGELOG.md',
2632
},
2733
{
28-
label: 'create-tauri-app',
29-
value: 'create-tauri-app',
34+
label: 'WRY',
35+
value: 'wry',
3036
changelogUrl:
31-
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/create-tauri-app/CHANGELOG.md',
37+
'https://raw.githubusercontent.com/tauri-apps/wry/dev/CHANGELOG.md',
3238
},
3339
{
34-
label: 'Core',
35-
value: 'core',
40+
label: 'create-tauri-app',
41+
value: 'create-tauri-app',
3642
changelogUrl:
37-
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/core/tauri/CHANGELOG.md',
43+
'https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/create-tauri-app/CHANGELOG.md',
3844
}
3945
]
4046

@@ -46,10 +52,10 @@ function fetchChangelog(url) {
4652
return versionsChangelog.map((versionChangelog) => {
4753
const [version, ...contents] = versionChangelog.split('\n')
4854
return {
49-
version: version.replace('[', '').replace(']', ''),
55+
version: version.replace('\\[', '').replace(']', ''),
5056
notes: contents.filter((line) => !!line).join('\n'),
5157
}
52-
})
58+
}).filter(({ version }) => !version.includes('Not Published'))
5359
})
5460
}
5561

src/pages/styles.module.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
display: flex;
8787
}
8888

89+
.verticalTabsPanes {
90+
flex: none;
91+
text-align: center;
92+
}
93+
8994
.verticalTabsPane {
9095
cursor: pointer;
9196
padding: 10px;
@@ -121,7 +126,7 @@
121126

122127
.changelogSearchInput::placeholder {
123128
color: var(--ifm-font-color-base);
124-
opacity: 1;
129+
opacity: 1;
125130
}
126131

127132
.changelog .tabs__item {

0 commit comments

Comments
 (0)