From: Mark Wielaard Date: Tue, 9 Jun 2020 09:23:46 +0000 (+0200) Subject: docs: Make sure all elements that need it have an id tag. X-Git-Tag: VALGRIND_3_17_0~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a489f40f78cee5559c230699befe11ff52388c28;p=thirdparty%2Fvalgrind.git docs: Make sure all elements that need it have an id tag. When generating HTML it is useful if every element that can be referenced has a stable id. If it doesn't a random one is generated which makes it harder to link to parts of the manual on the website. It also generates spurious diffs. Explicitly add an id tag for the sect2 and sect3 elements in dh-manual, a unique id for each legalnotice element and for each FAQ question and answer. --- diff --git a/dhat/docs/dh-manual.xml b/dhat/docs/dh-manual.xml index f52cca204d..6b9f1cb3f9 100644 --- a/dhat/docs/dh-manual.xml +++ b/dhat/docs/dh-manual.xml @@ -153,7 +153,7 @@ smaller value to reduce the stack depths, because this can significantly reduce the size of DHAT's output files. -The Output Header +The Output Header The first part of the output shows the program command and process ID. For example: @@ -179,13 +179,13 @@ Times { -The AP Tree +The AP Tree The third part of the output is the largest and most interesting part, showing the allocation point (AP) tree. -Structure +Structure The following image shows a screenshot of part of an AP tree. The font is very small because this screenshot is intended to @@ -223,7 +223,7 @@ email, bug report, etc. -The Root Node +The Root Node The root node looks like this: @@ -248,7 +248,7 @@ next example will explain these in more detail. -Interior Nodes +Interior Nodes AP nodes further down the tree show information about a subset of allocations. For example: @@ -331,7 +331,7 @@ vectors and hash tables, and isn't always fixable. -Leaf Nodes +Leaf Nodes This is a leaf node: @@ -381,7 +381,7 @@ This also means that each node makes complete sense on its own. -Access Counts +Access Counts If all blocks covered by an AP node have the same size, an additional Accesses field will be present. It indicates @@ -423,7 +423,7 @@ layout inefficiencies. -Aggregate Nodes +Aggregate Nodes The AP tree is very large and many nodes represent tiny numbers of blocks and bytes. Therefore, DHAT's viewer aggregates insignificant nodes like @@ -447,7 +447,7 @@ case). -The Output Footer +The Output Footer Below the AP tree is a line like this: @@ -466,7 +466,7 @@ terms, abbreviations and symbols used in the output. -Sort Metrics +Sort Metrics The order in which sub-trees are sorted can be changed via the "Sort metric" drop-down menu at the top of DHAT's viewer. Different sort metrics can diff --git a/docs/xml/FAQ.xml b/docs/xml/FAQ.xml index 845f5bb96c..414ac1364b 100644 --- a/docs/xml/FAQ.xml +++ b/docs/xml/FAQ.xml @@ -13,7 +13,7 @@ &vg-lifespan; Valgrind Developers - + Email: &vg-vemail; @@ -96,14 +96,14 @@ - + When building Valgrind, 'make' fails with this: /usr/bin/ld: cannot find -lc collect2: ld returned 1 exit status - + You need to install the glibc-static-devel package. @@ -629,7 +629,7 @@ is built standalone as FAQ.txt. That's why we link to, for example, the online copy of the manual. --> - Where can I get more help? + Where can I get more help? Read the appropriate section(s) of the Valgrind Documentation. diff --git a/docs/xml/dist-docs.xml b/docs/xml/dist-docs.xml index 9bf4d100ae..b1b5598fb0 100644 --- a/docs/xml/dist-docs.xml +++ b/docs/xml/dist-docs.xml @@ -13,7 +13,7 @@ &vg-lifespan; Valgrind Developers - + Email: &vg-vemail; diff --git a/docs/xml/index.xml b/docs/xml/index.xml index 3bdb38aa12..4166239ef5 100644 --- a/docs/xml/index.xml +++ b/docs/xml/index.xml @@ -16,7 +16,7 @@ - + Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the diff --git a/docs/xml/manual.xml b/docs/xml/manual.xml index e71a9cf750..518be2964e 100644 --- a/docs/xml/manual.xml +++ b/docs/xml/manual.xml @@ -13,7 +13,7 @@ &vg-lifespan; Valgrind Developers - + Email: &vg-vemail; diff --git a/docs/xml/quick-start-guide.xml b/docs/xml/quick-start-guide.xml index a61f5f095a..0f5e0a5f8a 100644 --- a/docs/xml/quick-start-guide.xml +++ b/docs/xml/quick-start-guide.xml @@ -12,7 +12,7 @@ &vg-lifespan; Valgrind Developers - + Email: &vg-vemail; diff --git a/docs/xml/tech-docs.xml b/docs/xml/tech-docs.xml index 28070f970c..2e077fc1d3 100644 --- a/docs/xml/tech-docs.xml +++ b/docs/xml/tech-docs.xml @@ -12,7 +12,7 @@ &vg-lifespan; Valgrind Developers - + Email: &vg-vemail;