Skip to content

Commit

Permalink
Add migration section to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
can-lehmann committed Sep 16, 2023
1 parent e64ebde commit 1e43ab8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Migration
7 changes: 7 additions & 0 deletions docs/migrating_2_to_3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Migrating from Owlkettle 2.x.x to 3.0.0 (devel)

## Breaking Changes

- `FileChooserDialogState.filename` has been deprecated. Use `filenames` instead.
- The `{.internal.}` pragma has been removed. Use `{.private.}` instead.
Contrary to `{.internal.}`, `{.private.}` actually does not export the given field.
5 changes: 5 additions & 0 deletions nbook.nim
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ var book = initBookWithToc:
entry("Setters", "internals/setters.nim")

entry("Tooling", "docs/recommended_tools.md")

section("Migration", "book/migration.md"):
entry("1.x.x to 2.0.0", "../docs/migrating_1_to_2.md")
entry("2.x.x to 3.0.0 (devel)", "../docs/migrating_2_to_3.md")

entry("Contributing", "CONTRIBUTING.md")

section("Legal", "book/legal/legal.md"):
Expand Down

0 comments on commit 1e43ab8

Please sign in to comment.