aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-04-09 13:54:35 -0700
committerGerald Combs <gerald@wireshark.org>2020-04-09 22:07:57 +0000
commitfcd51deb993d008fd5e7bf9d2a074ec778863d74 (patch)
tree42dd32ef265556c9c7ab079afe9823bc58f0342e /cmake
parentee6157868221915e9608a52bb95bb495437e1dff (diff)
Docbook: Fix an unterminated tag, other updates.
Remove nested example tags from the dissection chapter, including and unbalanced one. Mark our source blocks with [source,c]. Enable syntax highlighting in the Developer's and User's guides. This isn't supported in the DocBook backend (which we use to generate the HTML guides), but it is in the PDF backend. Add a comment about failing on warnings when we generate our guides. Change-Id: Ieee29fe75364ca23769aa997f90126e31b72cc8b Reviewed-on: https://code.wireshark.org/review/36767 Petri-Dish: Guy Harris <gharris@sonic.net> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <gharris@sonic.net> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindAsciidoctor.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/modules/FindAsciidoctor.cmake b/cmake/modules/FindAsciidoctor.cmake
index d3d72b5935..a4f57af293 100644
--- a/cmake/modules/FindAsciidoctor.cmake
+++ b/cmake/modules/FindAsciidoctor.cmake
@@ -35,6 +35,8 @@ if(ASCIIDOCTOR_EXECUTABLE)
endfunction(set_asciidoctor_target_properties)
set (_asciidoctor_common_args
+ # Doesn't work with AsciidoctorJ?
+ # --failure-level=WARN
--attribute build_dir=${CMAKE_CURRENT_BINARY_DIR}
--require ${CMAKE_CURRENT_SOURCE_DIR}/asciidoctor-macros/ws_utils.rb
--require ${CMAKE_CURRENT_SOURCE_DIR}/asciidoctor-macros/commaize-block.rb