Skip to content

Commit

Permalink
Change migration guide stub generator to pages
Browse files Browse the repository at this point in the history
Now it should generate the appropriate front matter for pages in
migration guide section rather than sections.
  • Loading branch information
TrialDragon committed Jan 22, 2024
1 parent 5875232 commit 405f1f7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions generate-release/src/migration_guide.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down Expand Up @@ -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(())
Expand Down

0 comments on commit 405f1f7

Please sign in to comment.