1
0
mirror of synced 2025-12-30 12:02:01 -05:00

add spacing for better visibility

This commit is contained in:
Hector Alfaro
2022-04-29 11:34:38 -04:00
parent c7e06fc88a
commit c84427d3e4

View File

@@ -52,7 +52,7 @@ for (const file of articleFiles) {
)
// parse the frontmatter
const { data } = parse(fileContents)
const { data } = await parse(fileContents)
let contentCell = ''
let previewCell = ''
@@ -70,12 +70,12 @@ for (const file of articleFiles) {
// for fpt, ghec, and ghae
if (currentApplicableVersions.toString() === nonEnterpriseDefaultVersion) {
// omit version from fpt url
previewCell += `[${version}](${APP_URL}/${fileUrl})`
prodCell += `[${version}](${PROD_URL}/${fileUrl})`
previewCell += `[${version}](${APP_URL}/${fileUrl}) `
prodCell += `[${version}](${PROD_URL}/${fileUrl}) `
} else {
// for non-versioned releases (ghae, ghec) use full url
previewCell += `[${version}](${APP_URL}/${currentApplicableVersions}/${fileUrl})`
prodCell += `[${version}](${PROD_URL}/${currentApplicableVersions}/${fileUrl})`
previewCell += `[${version}](${APP_URL}/${currentApplicableVersions}/${fileUrl}) `
prodCell += `[${version}](${PROD_URL}/${currentApplicableVersions}/${fileUrl}) `
}
} else {
// for ghes releases, link each version