Projects & Versions
#Overview
Projects and versions are all managed within the releases collection.
#Adding a new project
- Head over to the
releases
collection. - Add a new entry.
- Select Project.
#Adding a new version
For this example, let's say we've just built a new plugin called Kitty
and its version is 1.0
.
#1) Create a new collection
-
Add a new collection in the control panel
Enter the name and version. It's recommended to follow a consistent naming convention:Title Slug Kitty v1 kitty_v1 Kitty v2 kitty_v2 -
Configure your collection
These are the settings you will need to change:
Setting Value Orderable true Expect a root page true Slugs true Template docs/home Layout docs/layout Route kitty/1.x/{{ slug }}
#2) Create the navigation
Add a brand new navigation in the control panel. You will be prompted to enter a title and slug.
#3) Add a new release
Head over to the releases collection, create a new entry, and select Release from the dropdown to create a new version.
Fill in the details to create your new version.
#4) Add a stable release
Go to the project entry and fill in the Latest stable release
field with the version of your choosing.