diff --git a/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchBuildTimeConfig.java b/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchBuildTimeConfig.java index 7c762fcc70574..f2daba6c86f63 100644 --- a/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchBuildTimeConfig.java +++ b/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchBuildTimeConfig.java @@ -97,12 +97,12 @@ interface SchemaManagementConfig { @ConfigGroup interface AnalysisConfig { /** - * One or more xref:#bean-reference-note-anchor[bean references] + * One or more xref:{quarkus-hibernate-search-docs-path}#bean-reference-note-anchor[bean references] * to the component(s) used to configure full text analysis (e.g. analyzers, normalizers). * * The referenced beans must implement `ElasticsearchAnalysisConfigurer`. * - * See xref:#analysis-configurer[Setting up the analyzers] for more + * See xref:{quarkus-hibernate-search-docs-path}#analysis-configurer[Setting up the analyzers] for more * information. * * [NOTE] @@ -110,7 +110,7 @@ interface AnalysisConfig { * Instead of setting this configuration property, * you can simply annotate your custom `ElasticsearchAnalysisConfigurer` implementations with `@SearchExtension` * and leave the configuration property unset: Hibernate Search will use the annotated implementation automatically. - * See xref:#plugging-in-custom-components[this section] + * See xref:{quarkus-hibernate-search-docs-path}#plugging-in-custom-components[this section] * for more information. * * If this configuration property is set, it takes precedence over any `@SearchExtension` annotation. diff --git a/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchRuntimeConfig.java b/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchRuntimeConfig.java index 3dbdcd72dd9f2..64b5376ac1c37 100644 --- a/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchRuntimeConfig.java +++ b/extensions/hibernate-search-backend-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/backend/elasticsearch/runtime/HibernateSearchBackendElasticsearchRuntimeConfig.java @@ -338,7 +338,7 @@ interface LayoutConfig { * Instead of setting this configuration property, * you can simply annotate your custom `IndexLayoutStrategy` implementation with `@SearchExtension` * and leave the configuration property unset: Hibernate Search will use the annotated implementation automatically. - * See xref:#plugging-in-custom-components[this section] + * See xref:{quarkus-hibernate-search-docs-path}#plugging-in-custom-components[this section] * for more information. * * If this configuration property is set, it takes precedence over any `@SearchExtension` annotation. diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfig.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfig.java index de46f1167221a..7b6c2372d0b7f 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfig.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchBuildTimeConfig.java @@ -3,6 +3,7 @@ import java.util.Map; import io.quarkus.hibernate.orm.runtime.PersistenceUnitUtil; +import io.quarkus.runtime.annotations.ConfigDocAttribute; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigDocSection; import io.quarkus.runtime.annotations.ConfigPhase; @@ -14,6 +15,8 @@ @ConfigMapping(prefix = "quarkus.hibernate-search-orm") @ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED) +// Referenced in HibernateSearchBackendElasticsearchBuildTimeConfig +@ConfigDocAttribute(name = "quarkus-hibernate-search-docs-path", value = "hibernate-search-orm-elasticsearch.adoc") public interface HibernateSearchElasticsearchBuildTimeConfig { /** diff --git a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfig.java b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfig.java index f500c5473a9b2..e4acf23394c7f 100644 --- a/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfig.java +++ b/extensions/hibernate-search-orm-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/orm/elasticsearch/runtime/HibernateSearchElasticsearchRuntimeConfig.java @@ -4,6 +4,7 @@ import java.util.Map; import io.quarkus.hibernate.orm.runtime.PersistenceUnitUtil; +import io.quarkus.runtime.annotations.ConfigDocAttribute; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; @@ -13,6 +14,8 @@ @ConfigMapping(prefix = "quarkus.hibernate-search-orm") @ConfigRoot(phase = ConfigPhase.RUN_TIME) +// Referenced in HibernateSearchBackendElasticsearchRuntimeConfig +@ConfigDocAttribute(name = "quarkus-hibernate-search-docs-path", value = "hibernate-search-orm-elasticsearch.adoc") public interface HibernateSearchElasticsearchRuntimeConfig { /** diff --git a/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneBuildTimeConfig.java b/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneBuildTimeConfig.java index 864179eeb3c39..af42c897b1ced 100644 --- a/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneBuildTimeConfig.java +++ b/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneBuildTimeConfig.java @@ -5,6 +5,7 @@ import java.util.Optional; import io.quarkus.hibernate.search.backend.elasticsearch.runtime.HibernateSearchBackendElasticsearchBuildTimeConfig; +import io.quarkus.runtime.annotations.ConfigDocAttribute; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigDocSection; import io.quarkus.runtime.annotations.ConfigGroup; @@ -17,6 +18,8 @@ @ConfigMapping(prefix = "quarkus.hibernate-search-standalone") @ConfigRoot(phase = ConfigPhase.BUILD_AND_RUN_TIME_FIXED) +// Referenced in HibernateSearchBackendElasticsearchBuildTimeConfig +@ConfigDocAttribute(name = "quarkus-hibernate-search-docs-path", value = "hibernate-search-standalone-elasticsearch.adoc") public interface HibernateSearchStandaloneBuildTimeConfig { /** diff --git a/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneRuntimeConfig.java b/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneRuntimeConfig.java index 0a6382d36c601..91328a4bc3bbb 100644 --- a/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneRuntimeConfig.java +++ b/extensions/hibernate-search-standalone-elasticsearch/runtime/src/main/java/io/quarkus/hibernate/search/standalone/elasticsearch/runtime/HibernateSearchStandaloneRuntimeConfig.java @@ -7,6 +7,7 @@ import org.hibernate.search.mapper.pojo.standalone.schema.management.SchemaManagementStrategyName; import io.quarkus.hibernate.search.backend.elasticsearch.runtime.HibernateSearchBackendElasticsearchRuntimeConfig; +import io.quarkus.runtime.annotations.ConfigDocAttribute; import io.quarkus.runtime.annotations.ConfigDocDefault; import io.quarkus.runtime.annotations.ConfigDocMapKey; import io.quarkus.runtime.annotations.ConfigDocSection; @@ -20,6 +21,8 @@ @ConfigMapping(prefix = "quarkus.hibernate-search-standalone") @ConfigRoot(phase = ConfigPhase.RUN_TIME) +// Referenced in HibernateSearchBackendElasticsearchRuntimeConfig +@ConfigDocAttribute(name = "quarkus-hibernate-search-docs-path", value = "hibernate-search-standalone-elasticsearch.adoc") public interface HibernateSearchStandaloneRuntimeConfig { /**