mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
docs: Use man page name as default title in HTML output.
This commit is contained in:
@@ -452,6 +452,11 @@ SUBHTML: {
|
||||
$r .= "#" . $self->idify ($anchor, 1) if defined $anchor;
|
||||
$r;
|
||||
}
|
||||
|
||||
# For some reason Pod::Simple::XHTML usually cannot find a
|
||||
# title for the page. This defaults the HTML <title> field
|
||||
# to the same as the man page name.
|
||||
sub default_title { $name }
|
||||
}
|
||||
|
||||
if ($html) {
|
||||
|
||||
Reference in New Issue
Block a user