summaryrefslogtreecommitdiff
path: root/docbook/asciidoc.conf
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-11-01 14:35:29 -0700
committerGerald Combs <gerald@wireshark.org>2016-11-11 17:18:25 +0000
commit65ab2a97018877ec3a8664d7422c3ee4662e97ca (patch)
treef6068d14ae9493c400eca66019dedbb76a2c42f4 /docbook/asciidoc.conf
parentaba4d3a3a7d8c7f97290621085a8fb7a33942847 (diff)
downloadwireshark-65ab2a97018877ec3a8664d7422c3ee4662e97ca.tar.gz
AsciiDoc: Create an include file for attributes.
Move the replacement definitions in asciidoc.conf to attributes.asciidoc. This makes the markup a bit cleaner and is more compatible with AsciiDoctor. Use a standard naming scheme for URLs. Change-Id: Ica73aaadb013be2a4e6a3963fb54e6db6e02e98f Reviewed-on: https://code.wireshark.org/review/18655 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'docbook/asciidoc.conf')
-rw-r--r--docbook/asciidoc.conf60
1 files changed, 2 insertions, 58 deletions
diff --git a/docbook/asciidoc.conf b/docbook/asciidoc.conf
index c658adc399..0c3608c464 100644
--- a/docbook/asciidoc.conf
+++ b/docbook/asciidoc.conf
@@ -2,67 +2,11 @@
[attributes]
-wireshark-version=2.3.0
-
-# "scaledwidth" only applies to PDF output
-pdf-scaledwidth=scaledwidth="85%"
-screenshot-attrs=scaledwidth="85%"
-small-screenshot-attrs=scaledwidth="35%"
-toolbar-icon-attrs=height=24,width=24
-related-attrs=height=18
-# XXX height=22 results in content-height="22px" in the .fo file. Not sure
-# how to make scaledwidth take precedence.
-statusbar-attrs=scaledwidth="85%",height=22
+# Moved to attributes.asciidoc
[replacements]
-# Most of these are fake macros.
-# We should probably replace some or all of them with attributes.
-
-wireshark-authors-url:\[\]=https://www.wireshark.org/about.html#authors
-wireshark-bugs-site:\[\]=https://bugs.wireshark.org/
-wireshark-code-browse-url:\[\]=https://code.wireshark.org/review/gitweb?p=wireshark.git
-wireshark-code-review-url:\[\]=https://code.wireshark.org/review
-wireshark-dev-list-email:\[\]=wireshark-dev&#91;AT&#93;wireshark.org
-wireshark-developers-guide-url:\[\]=https://www.wireshark.org/docs/
-wireshark-download-page:\[\]=https://www.wireshark.org/download.html
-wireshark-display-filter-reference:\[\]=https://www.wireshark.org/docs/dfref/
-wireshark-man-page-reference:\[\]=https://www.wireshark.org/docs/man-pages/
-wireshark-faq-url:\[\]=https://www.wireshark.org/faq.html
-wireshark-git-anonhttp-url:\[\]=https://code.wireshark.org/review/wireshark
-wireshark-git-http-url:\[\]=https://your.username@code.wireshark.org/review/wireshark
-wireshark-git-ssh-url:\[\]=ssh://your.username@code.wireshark.org:29418/wireshark
-wireshark-buildbot-url:\[\]=https://buildbot.wireshark.org/trunk/waterfall
-wireshark-mailing-lists-url:\[\]=https://www.wireshark.org/lists/
-wireshark-qa-url:\[\]=https://ask.wireshark.org/
-wireshark-snapshots-url:\[\]=https://www.wireshark.org/download/automated/src/
-wireshark-users-guide-url:\[\]=https://www.wireshark.org/docs/
-wireshark-web-site:\[\]=https://www.wireshark.org/
-wireshark-wiki-site:\[\]=https://wiki.wireshark.org/
-
-tcpdump-web-site:\[\]=http://www.tcpdump.org/
-tcpdump-man-page-url:\[\]=http://www.tcpdump.org/manpages/tcpdump.1.html
-pcap-filter-man-page-url:\[\]=http://www.tcpdump.org/manpages/pcap-filter.7.html
-
-winpcap-web-site:\[\]=https://www.winpcap.org/
-winpcap-download-page:\[\]=https://www.winpcap.org/install/
-
-wikipedia-web-site:\[\]=https://en.wikipedia.org/wiki/
-sysfs-web-site:\[\]=http://linux-diag.sourceforge.net/Sysfsutils.html
-greenwichmeantime-web-site:\[\]=http://wwp.greenwichmeantime.com/
-timeanddate-web-site:\[\]=http://www.timeanddate.com/worldclock/
-ntp-web-site:\[\]=http://www.ntp.org/
-
-# Make a document attribute after we fully convert to AsciiDoc
-wsdg-author-email:\[\]=ulf.lamping&#91;AT&#93;web.de
-wsdg-author-email2:\[\]=graham.bloice&#91;AT&#93;trihedral.com
-
-wsug-author-email:\[\]=ulf.lamping&#91;AT&#93;web.de
-wsug-author-email2:\[\]=rsharpe&#91;AT&#93;ns.aus.com
-wsug-author-email3:\[\]=hagbard&#91;AT&#93;physics.rutgers.edu
-wsug-author-email4:\[\]=luis&#91;AT&#93;ontanon.org
-
-gpl-url:\[\]=https://www.gnu.org/licenses/gpl-2.0.html
+# Moved to attributes.asciidoc
[macros]