Skip to content

Commit 169f426

Browse files
committed
Tidy up headings and add intro
1 parent d690571 commit 169f426

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

app/Support/GitHub/Release.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getBodyForMarkdown(): string
7373
);
7474
}
7575

76-
return preg_replace('/^#/m', '##', $body);
76+
return preg_replace('/^## /m', '#### ', $body);
7777
}
7878

7979
public function withoutUserLinks(bool $withoutUserLinks = true): static

resources/views/docs/desktop/1/getting-started/release-notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ title: Release Notes
33
order: 1100
44
---
55

6+
Showing the 10 latest releases of `nativephp/electron`.
7+
8+
Please see GitHub for the [full list of release notes](https://github.com/NativePHP/electron/releases).
9+
610
@forelse (\App\Support\GitHub::electron()->releases()->take(10) as $release)
711
## {{ $release->name }}
812
**Released: {{ \Carbon\Carbon::parse($release->published_at)->format('F j, Y') }}**

0 commit comments

Comments
 (0)