Docs: Use Asciidoctor to copy ws.css.

Use the `copycss` attribute in the release notes and FAQ to copy ws.css
to the right location.
This commit is contained in:
Gerald Combs 2021-10-11 14:36:58 -07:00 committed by Wireshark GitLab Utility
parent 07371d4557
commit 643fbe52ae
3 changed files with 5 additions and 2 deletions

View File

@ -504,7 +504,7 @@ add_custom_target(
set_docbook_target_properties(news)
if( ASCIIDOCTOR_FOUND )
ASCIIDOCTOR2HTML( release-notes.adoc copy_ws.css )
ASCIIDOCTOR2HTML( release-notes.adoc )
ASCIIDOCTOR2TXT( release-notes.adoc )
endif()
@ -518,7 +518,7 @@ set_docbook_target_properties(faq)
add_dependencies ( faq faq_html )
if( ASCIIDOCTOR_FOUND )
ASCIIDOCTOR2HTML( faq.adoc copy_ws.css )
ASCIIDOCTOR2HTML( faq.adoc )
endif()
#

View File

@ -1,5 +1,7 @@
= Wireshark Frequently Asked Questions
:stylesheet: ws.css
:linkcss:
:copycss: {stylesheet}
:toc:
== General Questions

View File

@ -1,6 +1,7 @@
include::attributes.adoc[]
:stylesheet: ws.css
:linkcss:
:copycss: {stylesheet}
= Wireshark {wireshark-version} Release Notes
// Asciidoctor Syntax Quick Reference: