From 7f613745bd4a41d90a4ec2bc4eff78db75e1df73 Mon Sep 17 00:00:00 2001 From: Pasquale Congiusti Date: Mon, 24 Jul 2023 10:17:46 +0200 Subject: [PATCH] fix(docs): add code notation Fix the warning check: ``` YN0000: [build:antora ] [build:antora-perf] [07:04:34.320] WARN (asciidoctor): skipping reference to missing attribute: color ``` --- docs/user-manual/modules/ROOT/pages/route-template.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/route-template.adoc b/docs/user-manual/modules/ROOT/pages/route-template.adoc index 68b41e855ff27..6a396020f85fc 100644 --- a/docs/user-manual/modules/ROOT/pages/route-template.adoc +++ b/docs/user-manual/modules/ROOT/pages/route-template.adoc @@ -285,9 +285,9 @@ Then notice how the simple predicate is using _simple fluent builder_ `simple("{ This is **not supported** with route templates and would not work when creating multiple routes from the template. Instead, the simple expression should be a literal String value _only_ as follows: - +---- .when(simple("'{{color}}' == 'red'") - +---- === Using hardcoded node IDs in route templates If route templates contains hardcoded node IDs then routes created from templates will use the same IDs