Skip to content

Commit

Permalink
Merge pull request #96 from phel-lang/feat/95-add-read-more-link
Browse files Browse the repository at this point in the history
Add read more link
  • Loading branch information
Chemaclass authored Dec 1, 2024
2 parents 4822e05 + ce28cd0 commit 382f18e
Show file tree
Hide file tree
Showing 3 changed files with 344 additions and 530 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ public function generate(): array
foreach ($groupedPhelFns as $fn) {
$result[] = "## `{$fn->fnName()}`";
$result[] = $fn->doc();
if ($fn->url() !== '') {
$result[] = sprintf('Read more [here](%s).', $fn->url());
}
}

return $result;
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"require": {
"php": ">=8.2",
"ext-json": "*",
"phel-lang/phel-lang": "^0.15",
"gacela-project/gacela": "^1.7"
"phel-lang/phel-lang": "^0.16",
"gacela-project/gacela": "^1.9"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
"phpunit/phpunit": "^9.6",
"symfony/var-dumper": "^5.4"
"phpunit/phpunit": "^10.0",
"symfony/var-dumper": "^6.4"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 382f18e

Please sign in to comment.