You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-05 00:28:52 +02:00
Use CSS to number sections in documentation.
This reduces churn in the HTML when sections are added or removed from the documentation.
This commit is contained in:
@ -250,14 +250,14 @@ sub sectionProcess
|
||||
|
||||
if ($self->{bTocNumber})
|
||||
{
|
||||
$oSectionHeaderElement->addNew(HTML_DIV, "section${iDepth}-number", {strContent => $strSectionNo});
|
||||
$oSectionHeaderElement->addNew(HTML_DIV, "section${iDepth}-number");
|
||||
}
|
||||
|
||||
$oSectionHeaderElement->addNew(HTML_DIV, "section${iDepth}-title", {strContent => $strSectionTitle});
|
||||
|
||||
if ($self->{bTocNumber})
|
||||
{
|
||||
$oSectionTocElement->addNew(HTML_DIV, "section${iDepth}-toc-number", {strContent => $strSectionNo});
|
||||
$oSectionTocElement->addNew(HTML_DIV, "section${iDepth}-toc-number");
|
||||
}
|
||||
|
||||
my $oTocSectionTitleElement = $oSectionTocElement->addNew(HTML_DIV, "section${iDepth}-toc-title");
|
||||
|
Reference in New Issue
Block a user