Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions product-guide/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ project(${DIRNAME} VERSION 0 LANGUAGES )

# File paths
set(ADOC_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/manual.adoc")
set(ADOC_EXTRAS
"anms-components-logical.gv"
"anms-components-protocol.gv"
"anms-light-protocol.gv"
)
file(GLOB ADOC_EXTRAS "*.gv")


find_program(ASCIIDOC asciidoctor REQUIRED)
Expand All @@ -51,11 +47,11 @@ add_custom_command(
OUTPUT ${OUT_DBOOK}
DEPENDS ${ADOC_SOURCE} ${ADOC_EXTRAS} ${OUT_DOCINFO}
COMMAND
${ASCIIDOC} -v -r asciidoctor-diagram
${ASCIIDOC} -r asciidoctor-diagram
--base-dir ${CMAKE_CURRENT_SOURCE_DIR}
--destination-dir ${CMAKE_CURRENT_BINARY_DIR}
-o ${OUT_DBOOK}
${ADOC_SOURCE}
${ADOC_SOURCE}
)
# Place source images into build directory
set(INSTALL_IMGS ${CMAKE_CURRENT_SOURCE_DIR}/install_imgs.sh)
Expand Down Expand Up @@ -164,7 +160,7 @@ if(XMLSTARLET AND ASPELL)
"${OUT_HTML}" "misspelling.txt"
COMMAND
${XMLSTARLET} fo "${OUT_HTML}" |
grep --file "misspelling.txt" >"misspelling-ctx.txt" || true
grep --word-regexp --file "misspelling.txt" >"misspelling-ctx.txt" || true
)
add_custom_target(
${PROJECT_NAME}-misspelling ALL
Expand Down
12 changes: 7 additions & 5 deletions product-guide/docinfo.xml.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<subtitle>DOC-005444, Prepared by The Johns Hopkins Applied Physics Laboratory</subtitle>
<!-- <edition>@PROJECT_VERSION@</edition> -->
<subtitle>DOC-005444</subtitle>
<author>
<orgname>
JHU/APL
</orgname>
<personname>
<othername>
Prepared by The Johns Hopkins University Applied Physics Laboratory
</othername>
</personname>
</author>
<releaseinfo></releaseinfo>
<copyright>
<year>2023-2026</year>
<holder>The Johns Hopkins University Applied Physics Laboratory LLC</holder>
Expand Down
3 changes: 3 additions & 0 deletions product-guide/pdf-opts.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<xsl:param name="page.margin.inner">0.75in</xsl:param>
<xsl:param name="page.margin.outer">0.75in</xsl:param>

<xsl:param name="draft.mode">no</xsl:param>
<xsl:param name="draft.watermark">yes</xsl:param>

<xsl:param name="doc.collab.show">0</xsl:param>
<xsl:param name="latex.output.revhistory">1</xsl:param>
<xsl:param name="preface.tocdepth">2</xsl:param>
Expand Down
6 changes: 3 additions & 3 deletions user-guide/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ add_custom_command(
OUTPUT ${OUT_DBOOK}
DEPENDS ${ADOC_SOURCE} ${ADOC_EXTRAS} ${OUT_DOCINFO}
COMMAND
${ASCIIDOC} -v -r asciidoctor-diagram
${ASCIIDOC} -r asciidoctor-diagram
--base-dir ${CMAKE_CURRENT_SOURCE_DIR}
--destination-dir ${CMAKE_CURRENT_BINARY_DIR}
-o ${OUT_DBOOK}
${ADOC_SOURCE}
${ADOC_SOURCE}
)
# Place source images into build directory
set(INSTALL_IMGS ${CMAKE_CURRENT_SOURCE_DIR}/install_imgs.sh)
Expand Down Expand Up @@ -160,7 +160,7 @@ if(XMLSTARLET AND ASPELL)
"${OUT_HTML}" "misspelling.txt"
COMMAND
${XMLSTARLET} fo "${OUT_HTML}" |
grep --file "misspelling.txt" >"misspelling-ctx.txt" || true
grep --word-regexp --file "misspelling.txt" >"misspelling-ctx.txt" || true
)
add_custom_target(
${PROJECT_NAME}-misspelling ALL
Expand Down
12 changes: 7 additions & 5 deletions user-guide/docinfo.xml.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<subtitle>DOC-005443, Prepared by The Johns Hopkins Applied Physics Laboratory</subtitle>
<!-- <edition>@PROJECT_VERSION@</edition> -->
<subtitle>DOC-005443</subtitle>
<author>
<orgname>
JHU/APL
</orgname>
<personname>
<othername>
Prepared by The Johns Hopkins University Applied Physics Laboratory
</othername>
</personname>
</author>
<releaseinfo></releaseinfo>
<copyright>
<year>2023-2026</year>
<holder>The Johns Hopkins University Applied Physics Laboratory LLC</holder>
Expand Down
3 changes: 3 additions & 0 deletions user-guide/pdf-opts.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<xsl:param name="page.margin.inner">0.75in</xsl:param>
<xsl:param name="page.margin.outer">0.75in</xsl:param>

<xsl:param name="draft.mode">no</xsl:param>
<xsl:param name="draft.watermark">yes</xsl:param>

<xsl:param name="doc.collab.show">0</xsl:param>
<xsl:param name="latex.output.revhistory">1</xsl:param>
<xsl:param name="preface.tocdepth">2</xsl:param>
Expand Down
Loading