Skip to content

Commit 0c25d3e

Browse files
committed
xd
1 parent d0e7293 commit 0c25d3e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

generate_module_docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function toFolderName(name) {
2727
}
2828

2929
for (const mod of modules) {
30-
const id = mod.uniqueID || ''
30+
const id = mod.versionID || ''
3131
if (!id) continue
3232

3333
const folder = toFolderName(mod.name || id)

scrap_modules.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ for (const moduleInfo of modulesList) {
4040
description = '',
4141
features = [],
4242
download = '',
43-
uniqueID = '',
43+
versionID = '',
4444
} = moduleInfo
4545

4646
const versionStr = toVersionString(version)
@@ -61,13 +61,13 @@ for (const moduleInfo of modulesList) {
6161
output += `</ul>\n\n`
6262
}
6363

64-
if (uniqueID) {
64+
if (versionID) {
6565
const base = 'https://liliaframework.github.io/Modules/docs'
6666

6767
output += `<p><strong>Libraries:</strong></p>\n`
68-
output += `<p><a href="${base}/libraries/modules/${uniqueID}.html">Access Here</a></p>\n\n`
68+
output += `<p><a href="${base}/libraries/modules/${versionID}.html">Access Here</a></p>\n\n`
6969
output += `<p><strong>Hooks:</strong></p>\n`
70-
output += `<p><a href="${base}/hooks/modules/${uniqueID}.html">Access Here</a></p>\n\n`
70+
output += `<p><a href="${base}/hooks/modules/${versionID}.html">Access Here</a></p>\n\n`
7171
}
7272

7373
if (download) {

0 commit comments

Comments
 (0)