Expand page breaks' triggers for page(height: auto) in docs (#6081)

This commit is contained in:
Andrew Voynov 2025-03-24 21:08:39 +03:00 committed by GitHub
parent 91956d1f03
commit 636eea18bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,9 +75,10 @@ pub struct PageElem {
/// The height of the page. /// The height of the page.
/// ///
/// If this is set to `{auto}`, page breaks can only be triggered manually /// If this is set to `{auto}`, page breaks can only be triggered manually
/// by inserting a [page break]($pagebreak). Most examples throughout this /// by inserting a [page break]($pagebreak) or by adding another non-empty
/// documentation use `{auto}` for the height of the page to dynamically /// page set rule. Most examples throughout this documentation use `{auto}`
/// grow and shrink to fit their content. /// for the height of the page to dynamically grow and shrink to fit their
/// content.
#[resolve] #[resolve]
#[parse( #[parse(
args.named("height")? args.named("height")?