sourcey 3.5.4 → 3.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,9 +4,9 @@ export function normalizeDoxygenDescription(description, markdown) {
|
|
|
4
4
|
if (!description)
|
|
5
5
|
return "";
|
|
6
6
|
if (!description.includes("{#ref "))
|
|
7
|
-
return description;
|
|
7
|
+
return stripMarkdownLinks(description);
|
|
8
8
|
const firstParagraph = extractFirstParagraph(markdown);
|
|
9
|
-
return firstParagraph || description;
|
|
9
|
+
return stripMarkdownLinks(firstParagraph || description);
|
|
10
10
|
}
|
|
11
11
|
export function rewriteGeneratedDoxygenIncludePath(includePath) {
|
|
12
12
|
const normalized = includePath.replace(/\\/g, "/");
|
package/dist/site-assembly.js
CHANGED
|
@@ -459,6 +459,9 @@ function resolveInternalHref(href, outputPath, docsSourcePath, pathMap, sourceBa
|
|
|
459
459
|
const sourceDir = posix.dirname(docsSourcePath.replace(/\\/g, "/"));
|
|
460
460
|
candidates.add(posix.normalize(posix.join(sourceDir, clean)));
|
|
461
461
|
}
|
|
462
|
+
if (!sourcePath.startsWith("/") && pageDir) {
|
|
463
|
+
candidates.add(posix.normalize(posix.join(pageDir, clean)));
|
|
464
|
+
}
|
|
462
465
|
candidates.add(clean);
|
|
463
466
|
let target;
|
|
464
467
|
for (const initialCandidate of candidates) {
|