Skip to content

Commit

Permalink
Title generated without useless start
Browse files Browse the repository at this point in the history
fix #1623
  • Loading branch information
tisonkun authored Nov 4, 2017
1 parent 1139c6d commit 5e65409
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htmlify.p6
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ sub write-kind($kind) {
?? @subkinds.list[0]
!! $kind;
my $pod = pod-with-title(
"Documentation for $subkind $name",
"$subkind $name",
pod-block("Documentation for $subkind $name, assembled from the following types:"),
@docs.map({
pod-heading("{.origin.human-kind} {.origin.name}"),
Expand Down Expand Up @@ -926,7 +926,7 @@ sub write-kind($kind) {

sub write-qualified-method-call(:$name!, :$pod!, :$type!) {
my $p = pod-with-title(
"Documentation for method $type.$name",
"method $type.$name",
pod-block('From ', pod-link($type, "/type/{$type}#$name")),
@$pod,
);
Expand Down

0 comments on commit 5e65409

Please sign in to comment.