From: Ben Pfaff Date: Fri, 9 May 2025 21:15:32 +0000 (-0700) Subject: work on manual X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0c98d7299cf3e080d4f83bff7203d2be9519725;p=pspp work on manual --- diff --git a/rust/doc/book.toml b/rust/doc/book.toml index 5ca7e6c7ac..7f9d861cd4 100644 --- a/rust/doc/book.toml +++ b/rust/doc/book.toml @@ -8,6 +8,8 @@ title = "GNU PSPP" [output.html] mathjax-support = true +[output.linkcheck] + [preprocessor.toc] command = "mdbook-toc" renderer = ["html"] diff --git a/rust/doc/src/commands/data/compute.md b/rust/doc/src/commands/data/compute.md index 9181d955d5..b154311606 100644 --- a/rust/doc/src/commands/data/compute.md +++ b/rust/doc/src/commands/data/compute.md @@ -70,8 +70,8 @@ analyses, and this can be seen in the output from the `DESCRIPTIVES` command, below. The expression which follows the `=` sign can be as complicated as -necessary. See [Expressions](../../language/expressions.md) for a -full description of the language accepted. +necessary. See [Expressions](../../language/expressions/index.md) for +a full description of the language accepted. ``` Descriptive Statistics diff --git a/rust/doc/src/commands/data/flip.md b/rust/doc/src/commands/data/flip.md index ccef0d626b..ce04ed2a4d 100644 --- a/rust/doc/src/commands/data/flip.md +++ b/rust/doc/src/commands/data/flip.md @@ -77,7 +77,7 @@ there are seven variables (six containing data and one for the heading) and three cases. Afterwards there are four variables (one per case, plus the CASE_LBL variable) and six cases. You can delete the CASE_LBL variable (see [DELETE -VARIABLES](../commands/variables/delete-variables.md)) if you don't +VARIABLES](../../commands/variables/delete-variables.md)) if you don't need it. ``` diff --git a/rust/doc/src/commands/matrix/matrix.md b/rust/doc/src/commands/matrix/matrix.md index 8a9d86b4d4..33a147c7b5 100644 --- a/rust/doc/src/commands/matrix/matrix.md +++ b/rust/doc/src/commands/matrix/matrix.md @@ -119,8 +119,8 @@ The matrix language does not support missing values. Macros defined before a matrix program may be used within a matrix program, and macros may expand to include entire matrix programs. The -[`DEFINE`](../../control/define.md) command to define new macros may -not appear within a matrix program. +[`DEFINE`](../../commands/control/define.md) command to define new +macros may not appear within a matrix program. The following sections describe the details of the matrix language: first, the syntax of matrix expressions, then each of the supported diff --git a/rust/doc/src/commands/statistics/reliability.md b/rust/doc/src/commands/statistics/reliability.md index fc1e3e6d10..56c2668f0b 100644 --- a/rust/doc/src/commands/statistics/reliability.md +++ b/rust/doc/src/commands/statistics/reliability.md @@ -50,7 +50,7 @@ questions, viz: v3 and v5 are negatively worded, whereas the others are positively worded. All questions must be based upon the same scale for the analysis to be meaningful. One could use the [`RECODE`](../../commands/data/recode.md) command, however a simpler -way is to use [`COMPUTE`](../../commands/compute.md) and this is what +way is to use [`COMPUTE`](../../commands/data/compute.md) and this is what is done in the syntax below. ``` diff --git a/rust/doc/src/commands/variables/variable-attribute.md b/rust/doc/src/commands/variables/variable-attribute.md index 0268f581c6..2a8eb269a7 100644 --- a/rust/doc/src/commands/variables/variable-attribute.md +++ b/rust/doc/src/commands/variables/variable-attribute.md @@ -44,7 +44,7 @@ deleted element are shifted down, filling the vacated position. To associate custom attributes with the entire active dataset, instead of with particular variables, use [`DATAFILE -ATTRIBUTE`](../commands/data-io/datafile-attribute.md) instead. +ATTRIBUTE`](../../commands/data-io/datafile-attribute.md) instead. `VARIABLE ATTRIBUTE` takes effect immediately. It is not affected by conditional and looping structures such as `DO IF` or `LOOP`. diff --git a/rust/doc/src/system-file/index.md b/rust/doc/src/system-file/index.md index 068711db0d..a2e93f6130 100644 --- a/rust/doc/src/system-file/index.md +++ b/rust/doc/src/system-file/index.md @@ -9,7 +9,7 @@ System files use four data types: 8-bit characters, 32-bit integers, 64-bit integers, and 64-bit floating points, called here `char’, `int32’, `int64’, and `flt64’, respectively. Data is not necessarily aligned on a word or double-word boundary: the [long variable name -record](long-variable-name-record.md) and [very long string +record](long-variable-names-record.md) and [very long string record](very-long-string-record.md) have arbitrary byte length and can therefore cause all data coming after them in the file to be misaligned. diff --git a/rust/doc/src/system-file/value-labels-records.md b/rust/doc/src/system-file/value-labels-records.md index 91a9cba882..dc1d73ecc2 100644 --- a/rust/doc/src/system-file/value-labels-records.md +++ b/rust/doc/src/system-file/value-labels-records.md @@ -3,7 +3,7 @@ The value label records documented in this section are used for numeric and short string variables only. Long string variables may have value labels, but their value labels are recorded using a -[different record type](long-string-values-record.md). +[different record type](long-string-value-labels-record.md). [ReadStat](file-header-record.md) writes value labels that label a single value more than once. In more detail, it emits value labels