From 405f1f7e6707d8a2293d33271e8424c613ab2c5b Mon Sep 17 00:00:00 2001 From: TrialDragon Date: Mon, 22 Jan 2024 13:23:37 -0800 Subject: [PATCH] Change migration guide stub generator to pages Now it should generate the appropriate front matter for pages in migration guide section rather than sections. --- generate-release/src/migration_guide.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/generate-release/src/migration_guide.rs b/generate-release/src/migration_guide.rs index c2a9e9b633..b306bcc78b 100644 --- a/generate-release/src/migration_guide.rs +++ b/generate-release/src/migration_guide.rs @@ -21,9 +21,6 @@ pub fn generate_migration_guide( r#"+++ title = "{title}" weight = {weight} -sort_by = "weight" -template = "docs-section.html" -page_template = "docs-section.html" insert_anchor_links = "right" [extra] long_title = "Migration Guide: {title}" @@ -104,7 +101,6 @@ As a result, the Minimum Supported Rust Version (MSRV) is "the latest stable rel println!("\nFound {} breaking PRs merged", count); - std::fs::write(path, output)?; Ok(())