ci: link-checker known positive test with existing broken link, platform-specific instructions
parent
e10340b6ec
commit
0546d66ac0
22
TESTING.md
22
TESTING.md
|
|
@ -129,12 +129,27 @@ Link validation uses the `link-checker` tool to validate internal and external l
|
|||
|
||||
#### Installation
|
||||
|
||||
**Option 1: Download from docs-v2 releases (recommended)**
|
||||
**Option 1: Build from source (macOS/local development)**
|
||||
|
||||
For local development on macOS, build the link-checker from source:
|
||||
|
||||
```bash
|
||||
# Clone and build link-checker
|
||||
git clone https://github.com/influxdata/docs-tooling.git
|
||||
cd docs-tooling/link-checker
|
||||
cargo build --release
|
||||
|
||||
# Copy binary to your PATH or use directly
|
||||
cp target/release/link-checker /usr/local/bin/
|
||||
# OR use directly: ./target/release/link-checker
|
||||
```
|
||||
|
||||
**Option 2: Download pre-built binary (GitHub Actions/Linux)**
|
||||
|
||||
The link-checker binary is distributed via docs-v2 releases for reliable access from GitHub Actions workflows:
|
||||
|
||||
```bash
|
||||
# Download binary from docs-v2 releases
|
||||
# Download Linux binary from docs-v2 releases
|
||||
curl -L -o link-checker \
|
||||
https://github.com/influxdata/docs-v2/releases/download/link-checker-v1.0.0/link-checker-linux-x86_64
|
||||
chmod +x link-checker
|
||||
|
|
@ -143,7 +158,8 @@ chmod +x link-checker
|
|||
./link-checker --version
|
||||
```
|
||||
|
||||
**Option 2: Build from source**
|
||||
> [!Note]
|
||||
> Pre-built binaries are currently Linux x86_64 only. For macOS development, use Option 1 to build from source.
|
||||
|
||||
```bash
|
||||
# Clone and build link-checker
|
||||
|
|
|
|||
|
|
@ -704,7 +704,7 @@ name: data
|
|||
|
||||
## ATAN2()
|
||||
|
||||
Returns the the arctangent of `y/x` in radians.
|
||||
Returns the arctangent of `y/x` in radians.
|
||||
|
||||
### Basic syntax
|
||||
|
||||
|
|
@ -1609,7 +1609,7 @@ SELECT DERIVATIVE(<function> ([ * | <field_key> | /<regular_expression>/ ]) [ ,
|
|||
The advanced syntax requires a [`GROUP BY time()` clause](/influxdb/version/query-data/influxql/explore-data/group-by/#group-by-time-intervals) and a nested InfluxQL function.
|
||||
The query first calculates the results for the nested function at the specified `GROUP BY time()` interval and then applies the `DERIVATIVE()` function to those results.
|
||||
|
||||
The `unit` argument is an integer followed by a [duration](//influxdb/version/reference/glossary/#duration) and it is optional.
|
||||
The `unit` argument is an integer followed by a [duration](///influxdb/version/reference/glossary/#duration) and it is optional.
|
||||
If the query does not specify the `unit` the `unit` defaults to the `GROUP BY time()` interval.
|
||||
Note that this behavior is different from the [basic syntax's](#basic-syntax-1) default behavior.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue