Skip to content

Commit 382f18e

Browse files
authored
Merge pull request #96 from phel-lang/feat/95-add-read-more-link
Add read more link
2 parents 4822e05 + ce28cd0 commit 382f18e

File tree

3 files changed

+344
-530
lines changed

3 files changed

+344
-530
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;

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"require": {
1212
"php": ">=8.2",
1313
"ext-json": "*",
14-
"phel-lang/phel-lang": "^0.15",
15-
"gacela-project/gacela": "^1.7"
14+
"phel-lang/phel-lang": "^0.16",
15+
"gacela-project/gacela": "^1.9"
1616
},
1717
"require-dev": {
1818
"roave/security-advisories": "dev-latest",
19-
"phpunit/phpunit": "^9.6",
20-
"symfony/var-dumper": "^5.4"
19+
"phpunit/phpunit": "^10.0",
20+
"symfony/var-dumper": "^6.4"
2121
},
2222
"autoload": {
2323
"psr-4": {

0 commit comments

Comments
 (0)