Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Upgrading #203

Merged
merged 1 commit into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ After adding *netfox* to your project, make sure to enable the addons in your
project settings. Otherwise, Godot will present you with errors about
undeclared identifiers.

## Upgrading

If you're upgrading from an older version of netfox, refer to the [upgrade
guide](docs/upgrading.md).

## Usage

See the [docs](https://foxssake.github.io/netfox/).
Expand Down
36 changes: 36 additions & 0 deletions docs/upgrading.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Upgrading netfox

Improvements are fixes are added to netfox with time, based on user feedback,
resulting in newer versions. This page is inteded to help you with upgrading
your game to a newer netfox version.

## General advice

### Have a backup

**Make sure to have a backup** of your project before upgrading. While most
often an addon update should be harmless, it is a good practice to backup your
project regularly, and specifically before risky changes.

### Disable the addon(s)

Before upgrading, disable the netfox addon(s) in your project, in Project
Settings. After the upgrade, enable the addon(s) again.

This helps with cases where an autoload or a project setting is changed.

## Version-specific steps

This section has version-specific entries where extra actions might be
necessary. Versions where the general advice holds are left out.

Make sure to apply all the steps between the versions, e.g. if you're updating
from 1.0.0 to 1.3.0, refer to the sections between the two versions, in this
case v1.1.1. If there are no sections here for your version range, that means
that the upgrade should need no extra action, aside from replacing the old
netfox addon(s) with the new one(s).

### v1.1.1

* Remove `Interpolators` from the project autoloads, it's a static class now.

1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ site_name: netfox
theme: readthedocs
nav:
- 'index.md'
- 'upgrading.md'
- netfox:
- Tutorials:
- 'netfox/tutorials/responsive-player-movement.md'
Expand Down