Skip to content

Commit 739b257

Browse files
authored
disable generate title with "Documentation for"
fix #1623
1 parent 1139c6d commit 739b257

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

htmlify.p6

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,8 @@ sub write-kind($kind) {
898898
?? @subkinds.list[0]
899899
!! $kind;
900900
my $pod = pod-with-title(
901-
"Documentation for $subkind $name",
902-
pod-block("Documentation for $subkind $name, assembled from the following types:"),
901+
"$subkind $name",
902+
pod-block("$subkind $name, assembled from the following types:"),
903903
@docs.map({
904904
pod-heading("{.origin.human-kind} {.origin.name}"),
905905
pod-block("From ",
@@ -926,7 +926,7 @@ sub write-kind($kind) {
926926

927927
sub write-qualified-method-call(:$name!, :$pod!, :$type!) {
928928
my $p = pod-with-title(
929-
"Documentation for method $type.$name",
929+
"method $type.$name",
930930
pod-block('From ', pod-link($type, "/type/{$type}#$name")),
931931
@$pod,
932932
);

0 commit comments

Comments
 (0)