Skip to content

Commit 256c583

Browse files
committed
Releases documentation page includes MacOs
#docs
1 parent 6437919 commit 256c583

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/extensions/mrdocs-releases.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ module.exports = function (registry) {
163163

164164
// Create table
165165
let text = '|===\n'
166-
text += '| 3+| 🪟 Windows 2+| 🐧 Linux \n'
167-
text += '| 📃 Release | 📦 7z | 📦 msi | 📦 zip | 📦 tar.xz | 📦 tar.gz \n'
166+
text += '| 3+| 🪟 Windows 2+| 🐧 Linux 2+| 🍏 macOS \n'
167+
text += '| 📃 Release | 📦 7z | 📦 msi | 📦 zip | 📦 tar.xz | 📦 tar.gz | 📦 tar.xz | 📦 tar.gz \n'
168168
releases.sort((a, b) => getReleaseDate(b) - getReleaseDate(a));
169169
for (const release of releases) {
170170
if (release.name === 'llvm-package') continue
171171
const date = getReleaseDate(release)
172172
text += `| ${release.html_url}[${release.name},window=_blank]\n\n${humanizeDate(date)} `
173-
const assetSuffixes = ['win64.7z', 'win64.msi', 'win64.zip', 'Linux.tar.xz', 'Linux.tar.gz']
173+
const assetSuffixes = ['win64.7z', 'win64.msi', 'win64.zip', 'Linux.tar.xz', 'Linux.tar.gz', 'Darwin.tar.xz', 'Darwin.tar.gz']
174174
for (const suffix of assetSuffixes) {
175175
const asset = release.assets.find(asset => asset.name.endsWith(suffix))
176176
if (asset) {

0 commit comments

Comments
 (0)