From 4dd64a695035892356c528cd05860fdffd2d82e0 Mon Sep 17 00:00:00 2001 From: Oleh Prypin Date: Tue, 27 Sep 2022 20:00:35 +0200 Subject: [PATCH] Mention event priority values also in release notes --- docs/about/release-notes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 65c36404..9af91776 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -55,6 +55,9 @@ Plugins can now choose to set a priority value for their event handlers. This ca If this is set, events with higher priority are called first. Events without a chosen priority get a default of 0. Events that have the same priority are ordered as they appear in the config. +Recommended priority values: `100` "first", `50` "early", `0` "default", `-50` "late", `-100` "last". +As different plugins discover more precise relations to each other, the values should be further tweaked. + See [**documentation**](../dev-guide/plugins.md#event-priorities). #### New events that persist across builds in `mkdocs serve` (#2972)