URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8bf6c7b3bf4e355f336f19ce9c8f76d79cc8876e
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
8bf6c7b by Gerald Combs (gerald@xxxxxxxxxxxxx):
WSDG: Migrate the asn2wrs content from the wiki.
Asn2wrs generates quite a bit of our dissector code, so convert some of
our asn2wrs wiki pages to a WSDG chapter. Conversion was done using the
script below and editing as needed.
----
OUT_ADOC="docbook/wsdg_src/WSDG_chapter_asn2wrs.adoc"
cp /dev/null "$OUT_ADOC"
PAGES="
Asn2wrs
Asn2wrs_Handmassaging_the_ASN_file
ASN1_sample
Asn2wrsAuxiliary
#.END
#.EXPORTS
#.FN_BODY
#.INCLUDE
#.MODULE_IMPORT
#.NO_EMIT
#.PDU
#.PDU_NEW
#.REGISTER
#.REGISTER_NEW
#.USER_DEFINED
"
for PAGE in $PAGES ; do
PAGE=${PAGE/\#/%23}
curl "https://wiki.wireshark.org/$PAGE" \
| xmllint --html --format --xpath '//div[@id="content"]' - \
| pandoc -f html -t asciidoctor \
| sed -e 's/\[\#[^ ][^ ]* .anchor\]##*//g' -e 's/\[content\]//g' \
| cat -s \
>> "$OUT_ADOC"
done
----
Change-Id: Ibc02b7b463dfc37abf5c2fd0a4e66f6161d290f6
Reviewed-on: https://code.wireshark.org/review/36707
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from a3cf955 X2AP: upgrade dissector to v15.9.0
add 8bf6c7b WSDG: Migrate the asn2wrs content from the wiki.
Summary of changes:
docbook/CMakeLists.txt | 1 +
docbook/developer-guide.adoc | 2 +
docbook/wsdg_src/WSDG_chapter_asn2wrs.adoc | 1260 ++++++++++++++++++++++++++++
3 files changed, 1263 insertions(+)
create mode 100644 docbook/wsdg_src/WSDG_chapter_asn2wrs.adoc