From ca17eb4839fc491d68dfc6dfd62557511ff72f3e Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 11 Feb 2026 17:34:13 +0100 Subject: [PATCH] Resource registry: Document the `*` depends value. Documentation of the feature from https://github.com/plone/Products.CMFPlone/pull/4274 --- docs/classic-ui/static-resources.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/classic-ui/static-resources.md b/docs/classic-ui/static-resources.md index f9715fca1c..34a2976a47 100644 --- a/docs/classic-ui/static-resources.md +++ b/docs/classic-ui/static-resources.md @@ -102,6 +102,7 @@ The following attributes are available for registering a static resource. The `depends` attribute may be assigned the value of `all`, making this bundle render last, after all other bundles. The `all` value lets you load CSS files after the automatically added theme resources and override CSS declarations from your own custom CSS files. + `*` is an alias for `all`, so you can also use that. If you set multiple bundles to `all`, then these bundles will render in alphabetical order by its name. @@ -115,6 +116,11 @@ The following attributes are available for registering a static resource. `depends` value of `all`. ``` + ```{versionadded} Plone 6.2.0a2 + `depends` value of `*`. + Note: The `*` value was present in Plone < 6. + ``` + `load_async` : Boolean. Whether the bundle should be loaded asynchronously or not.