Skip to content

Commit

Permalink
feat(migrating from v4): new section
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Nov 13, 2022
1 parent a87d298 commit 108c903
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export default {
"/reference/performance.md",
],
},
"/migrating-from-v4.md",
{
text: "Contributing",
link: "/contributing/",
Expand Down
20 changes: 20 additions & 0 deletions docs/migrating-from-v4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
prev:
text: Performance
link: /performance
---

# Migrating from v4

:::danger
These docs are for the not-yet-released v5.
For v4 docs see <https://github.com/olets/zsh-abbr>
:::

- Before upgrading, you may want to back up your user abbreviations file.

```shell
cp $ABBR_USER_ABBREVIATIONS_FILE ~/path/to/the/new/user-abbreviations.bk
```

- zsh-syntax-highlighting users who highlight abbreviations will need to update their snippets. Follow the [Reference&nbsp;>&nbsp;Advanced&nbsp;>&nbsp;Syntax highlighting](/reference/advanced.html#syntax-highlighting) instructions.
4 changes: 2 additions & 2 deletions docs/reference/performance.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
next:
text: Contributing
link: /contributing/
text: Migrating from v4
link: /migrating-from-v4/
---

# Performance
Expand Down

1 comment on commit 108c903

@vercel
Copy link

@vercel vercel bot commented on 108c903 Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

zsh-abbr-docs – ./

zsh-abbr-docs-git-main-olets.vercel.app
zsh-abbr-docs-olets.vercel.app
zsh-abbr.vercel.app
zsh-abbr.olets.dev

Please sign in to comment.