Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit b8df5e2

Browse files
committed
Fix Doctum remote repository links and "view source" links spacing
1 parent 65bc763 commit b8df5e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/doctum-themes/macros.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
{% macro source_link(project, class) -%}
4848
{# #}{% if class.sourcepath %}
49-
{# #}[{% trans 'View source'%}]({{ class.sourcepath }})
49+
{# #}{{ " " }}[{% trans 'View source'%}]({{ class.sourcepath }})
5050
{# #}{%- endif %}
5151
{%- endmacro %}
5252

scripts/doctum.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use Doctum\RemoteRepository\GitHubRemoteRepository;
55
use Symfony\Component\Finder\Finder;
66

7-
$dir = __DIR__ . '/../src';
7+
$dir = realpath(__DIR__ . '/../src');
88
$iterator = Finder::create()
99
->files()
1010
->name('*.php')
@@ -16,5 +16,5 @@
1616
'title' => 'Laravel / Lumen package for Firebase Cloud Messaging',
1717
'build_dir' => __DIR__ . '/../doc/',
1818
'cache_dir' => __DIR__ . '/../build/cache/',
19-
'remote_repository' => new GitHubRemoteRepository('code-lts/Laravel-FCM', $dir),
19+
'remote_repository' => new GitHubRemoteRepository('code-lts/Laravel-FCM', realpath($dir . '/../')),
2020
]);

0 commit comments

Comments
 (0)