Small improvement to docs generation
This commit is contained in:
parent
cf39a55019
commit
c877927645
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
extraProps.push(new Combine(["This layer will automatically load ", new Link(dep.neededLayer, "./" + dep.neededLayer + ".md"), " into the layout as it depends on it: ", dep.reason, "(" + dep.context + ")"]))
|
||||
}
|
||||
|
||||
for (const revDep of layerIsNeededBy?.get(this.id) ?? []) {
|
||||
for (const revDep of Utils.Dedup( layerIsNeededBy?.get(this.id) ?? [])) {
|
||||
extraProps.push(new Combine(["This layer is needed as dependency for layer", new Link(revDep, "#" + revDep)]))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue