Skip to content

Commit 735396c

Browse files
authored
Fail spec creation if asciidoctor errors are encountered (#1205)
* Fail spec creation if asciidoctor errors are encountered This would have enabled the CI to catch a markup issue introduced by #938. Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: I49de3eaf623117f7c29d1019dedf5b342766a029 * attempt to fix asciidoctor errors in API spec Change-Id: I0f9cbeddb72e0d76ba508b336d91c4ee640d77ad --------- Signed-off-by: Kevin Petit <kevin.petit@arm.com>
1 parent 110a226 commit 735396c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ ADOCCOMMONOPTS = -a apispec="$(CURDIR)/api" \
117117
-a cspec="$(CURDIR)/c" \
118118
-a images="$(CURDIR)/images" \
119119
$(ATTRIBOPTS) $(NOTEOPTS) $(VERBOSE) $(ADOCEXTS)
120-
ADOCOPTS = -d book $(ADOCCOMMONOPTS)
120+
ADOCOPTS = --failure-level ERROR -d book $(ADOCCOMMONOPTS)
121121

122122
# Asciidoctor options to build refpages
123123
#

api/opencl_runtime_layer.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2524,29 +2524,29 @@ The memory layout of this image format is described below:
25242524

25252525
[width="60%",cols="<10%,<10%,<10%,<10%,<60%"]
25262526
|====
2527-
| R | G | B | A | ... |
2527+
| R | G | B | A | ...
25282528
|====
25292529

25302530
with the corresponding byte offsets
25312531

25322532
[width="60%",cols="<10%,<10%,<10%,<10%,<60%"]
25332533
|====
2534-
| 0 | 1 | 2 | 3 | ... |
2534+
| 0 | 1 | 2 | 3 | ...
25352535
|====
25362536

25372537
Similar, if `image_channel_order` = {CL_RGBA} and `image_channel_data_type` =
25382538
{CL_SIGNED_INT16}, the memory layout of this image format is described below:
25392539

25402540
[width="60%",cols="<10%,<10%,<10%,<10%,<60%"]
25412541
|====
2542-
| R | G | B | A | ... |
2542+
| R | G | B | A | ...
25432543
|====
25442544

25452545
with the corresponding byte offsets
25462546

25472547
[width="60%",cols="<10%,<10%,<10%,<10%,<60%"]
25482548
|====
2549-
| 0 | 2 | 4 | 6 | ... |
2549+
| 0 | 2 | 4 | 6 | ...
25502550
|====
25512551

25522552
`image_channel_data_type` values of {CL_UNORM_SHORT_565}, {CL_UNORM_SHORT_555},

0 commit comments

Comments
 (0)