mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3745] Updates for doc review (#4291)
* [ADF-3745] Updates for doc review * [ADF-3745] Fixed bad links to Content node selector page * [ADF-3745] Updated index files
This commit is contained in:
committed by
Eugenio Romano
parent
581a0c5177
commit
1079361c2c
@@ -25,7 +25,7 @@ function processDocs(mdCache, aggData, errorMessages) {
|
||||
children: [titleText]
|
||||
};
|
||||
}
|
||||
else if (titleHeading.children[0].type === "link") {
|
||||
else if ((titleHeading.children[0].type === "link") && sourcePath) {
|
||||
var linkElem = titleHeading.children[0];
|
||||
linkElem.url = "../../" + sourcePath;
|
||||
linkElem.title = "Defined in " + path.basename(sourcePath);
|
||||
|
@@ -33,7 +33,7 @@ export function processDocs(mdCache, aggData, errorMessages) {
|
||||
title: `Defined in ${path.basename(sourcePath)}`,
|
||||
children: [titleText]
|
||||
}
|
||||
} else if (titleHeading.children[0].type === "link") {
|
||||
} else if ((titleHeading.children[0].type === "link") && sourcePath) {
|
||||
let linkElem = titleHeading.children[0];
|
||||
linkElem.url = `../../${sourcePath}`;
|
||||
linkElem.title = `Defined in ${path.basename(sourcePath)}`;
|
||||
|
Reference in New Issue
Block a user