Skip to content

Commit

Permalink
Merge pull request #21169 from gsmet/fix-doc-includes-2.4
Browse files Browse the repository at this point in the history
Fix various includes in documentation - 2.4
  • Loading branch information
gsmet authored Nov 3, 2021
2 parents 2425524 + 6fa1d33 commit 2fc8425
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/qute-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1629,7 +1629,7 @@ public enum Status {
=== Native Executables

In the JVM mode a reflection-based value resolver may be used to access properties and call methods of the model classes.
But this does not work for <<building-native-image.adoc,a native executable>> out of the box.
But this does not work for xref:building-native-image.adoc[a native executable] out of the box.
As a result, you may encounter template exceptions like `Property "name" not found on the base object "org.acme.Foo" in expression {foo.name} in template hello.html` even if the `Foo` class declares a relevant getter method.

There are several ways to solve this problem:
Expand Down Expand Up @@ -1940,4 +1940,4 @@ Type-safety::
* <<typesafe_expressions>> are not validated.
* <<type-safe-message-bundles,Type-safe message bundles>> are not supported.

Injection:: It is not possible to inject a `Template` instance and vice versa - a template cannot inject a `@Named` CDI bean via the `inject:` namespace.
Injection:: It is not possible to inject a `Template` instance and vice versa - a template cannot inject a `@Named` CDI bean via the `inject:` namespace.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/vertx-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Documentation about the Vert.x Mutiny variant is available on https://smallrye.i
You can configure the Vert.x instance from the `application.properties` file.
The following table lists the supported properties:

include::{generated-dir}/config/quarkus-vertx.adoc[opts=optional, leveloffset=+1]
include::{generated-dir}/config/quarkus-vertx-core.adoc[opts=optional, leveloffset=+1]


[[using-vertx-clients]]
Expand Down Expand Up @@ -1020,4 +1020,4 @@ In environments with read only file systems you may receive errors of the form:
java.lang.IllegalStateException: Failed to create cache dir
----

Assuming `/tmp/` is writable this can be fixed by setting the `vertx.cacheDirBase` property to point to a directory in `/tmp/` for instance in OpenShift by creating an environment variable `JAVA_OPTS` with the value `-Dvertx.cacheDirBase=/tmp/vertx`.
Assuming `/tmp/` is writable this can be fixed by setting the `vertx.cacheDirBase` property to point to a directory in `/tmp/` for instance in OpenShift by creating an environment variable `JAVA_OPTS` with the value `-Dvertx.cacheDirBase=/tmp/vertx`.

0 comments on commit 2fc8425

Please sign in to comment.