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) set_docbook_target_properties(news)
if( ASCIIDOCTOR_FOUND ) if( ASCIIDOCTOR_FOUND )
ASCIIDOCTOR2HTML( release-notes.adoc copy_ws.css ) ASCIIDOCTOR2HTML( release-notes.adoc )
ASCIIDOCTOR2TXT( release-notes.adoc ) ASCIIDOCTOR2TXT( release-notes.adoc )
endif() endif()
@ -518,7 +518,7 @@ set_docbook_target_properties(faq)
add_dependencies ( faq faq_html ) add_dependencies ( faq faq_html )
if( ASCIIDOCTOR_FOUND ) if( ASCIIDOCTOR_FOUND )
ASCIIDOCTOR2HTML( faq.adoc copy_ws.css ) ASCIIDOCTOR2HTML( faq.adoc )
endif() endif()
# #

View File

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

View File

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