You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by kw...@apache.org on 2026/02/18 15:16:38 UTC

(sling-site) branch master updated: Add links to annotation classes

This is an automated email from the ASF dual-hosted git repository.

kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5445a8a6c Add links to annotation classes
5445a8a6c is described below

commit 5445a8a6c15fa4b97456aeaf7b201bd3eaa77715
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Wed Feb 18 16:16:33 2026 +0100

    Add links to annotation classes
---
 .../context-aware-configuration/context-aware-configuration.md        | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/jbake/content/documentation/bundles/context-aware-configuration/context-aware-configuration.md b/src/main/jbake/content/documentation/bundles/context-aware-configuration/context-aware-configuration.md
index eb66efd78..bf5cf6a06 100644
--- a/src/main/jbake/content/documentation/bundles/context-aware-configuration/context-aware-configuration.md
+++ b/src/main/jbake/content/documentation/bundles/context-aware-configuration/context-aware-configuration.md
@@ -116,7 +116,7 @@ The annotation class may look like this:
         int intParam();
     }
 
-The `@Configuration` annotation is mandatory. All properties on the `@Configuration` annotation and the `@Property` annotations are optional - they provide additional metadata for tooling e.g. configuration editors.
+The [`@Configuration`][javadoc-component] annotation is mandatory. All properties on the `@Configuration` annotation and the [`@Property`][javadoc-property] annotations are optional - they provide additional metadata for tooling e.g. configuration editors.
 
 By default the annotation class name is used as configuration name, which is also the recommended option. If you want to use an arbitrary configuration name you can specify it via a `name` property on the `@Configuration` annotation.
 
@@ -272,5 +272,7 @@ Whenever configuration data is read or written from the configuration resources
 
 
 [default-impl]: https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-default-implementation.html
+[javadoc-component]: https://sling.apache.org/apidocs/latest/org/apache/sling/caconfig/annotation/Configuration.html
+[javadoc-property]: https://sling.apache.org/apidocs/sling13/org/apache/sling/caconfig/annotation/Property.html
 [spi]: https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-spi.html
 [override]: https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration-override.html