Skip to content

Commit 2751108

Browse files
committed
feat: add fn->url to read more on md generator
1 parent ec90662 commit 2751108

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/src/php/FileGenerator/Application/ApiMarkdownGenerator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ public function generate(): array
2424
foreach ($groupedPhelFns as $fn) {
2525
$result[] = "## `{$fn->fnName()}`";
2626
$result[] = $fn->doc();
27+
if ($fn->url() !== '') {
28+
$result[] = sprintf('Read more [here](%s).', $fn->url());
29+
}
2730
}
2831

2932
return $result;

0 commit comments

Comments
 (0)