Skip to content

Commit

Permalink
Migration guide 0.10 -> 0.11 (#655)
Browse files Browse the repository at this point in the history
Co-authored-by: Jerome Humbert <[email protected]>
Co-authored-by: Carter Anderson <[email protected]>
  • Loading branch information
3 people authored Jul 9, 2023
1 parent dbdd9b1 commit 4d5958f
Show file tree
Hide file tree
Showing 8 changed files with 1,142 additions and 8 deletions.
1,133 changes: 1,133 additions & 0 deletions content/learn/migration-guides/0.10-0.11/_index.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions content/learn/migration-guides/0.4-0.5/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.4 to 0.5"
weight = 7
weight = 8
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.4-0.5"]
Expand Down Expand Up @@ -64,11 +64,11 @@ Similarly, rather than using `with(some_component)` to spawn an object with mult
// 0.4
commands.spawn(some_bundle)
.with(some_component);

// 0.5
commands.spawn_bundle(some_bundle)
.insert(some_component);

// or...
commands.spawn()
.insert_bundle(some_bundle)
Expand Down
2 changes: 1 addition & 1 deletion content/learn/migration-guides/0.5-0.6/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.5 to 0.6"
weight = 6
weight = 7
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.5-0.6"]
Expand Down
2 changes: 1 addition & 1 deletion content/learn/migration-guides/0.6-0.7/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.6 to 0.7"
weight = 5
weight = 6
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.6-0.7"]
Expand Down
2 changes: 1 addition & 1 deletion content/learn/migration-guides/0.7-0.8/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.7 to 0.8"
weight = 4
weight = 5
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.7-0.8"]
Expand Down
2 changes: 1 addition & 1 deletion content/learn/migration-guides/0.8-0.9/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.8 to 0.9"
weight = 3
weight = 4
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.8-0.9"]
Expand Down
2 changes: 1 addition & 1 deletion content/learn/migration-guides/0.9-0.10/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "0.9 to 0.10"
weight = 2
weight = 3
template = "docs-section.html"
insert_anchor_links = "right"
aliases = ["learn/book/migration-guides/0.9-0.10"]
Expand Down
1 change: 1 addition & 0 deletions generate-release/src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fn write_markdown_event(
Event::Start(Tag::CodeBlock(CodeBlockKind::Indented)) => writeln!(output, "\n```",)?,
Event::End(Tag::CodeBlock(CodeBlockKind::Indented)) => writeln!(output, "```")?,
Event::Start(Tag::Emphasis) | Event::End(Tag::Emphasis) => write!(output, "_")?,
Event::Start(Tag::Strong) | Event::End(Tag::Strong) => write!(output, "**",)?,
Event::Start(Tag::Heading(_, _, _)) => {
// A few guides used headings for emphasis,
// since we use headings for the actual header of the guide, we need to use a different way to convey emphasis
Expand Down

0 comments on commit 4d5958f

Please sign in to comment.