Skip to content

Commit f70d7e0

Browse files
Watson1978claude
andcommitted
Fix broken internal links
Audited all 206 markdown files (2,774 links) plus the redirects in .gitbook.yaml, and fixed every internal link that does not resolve. External URLs are out of scope here and will be handled separately. Path fixes: * installation/install-calyptia-fluentd/: the four install guides live one directory deeper than the links assume, so `../` was missing one level (51 links). Now matches the sibling install-fluent-package/ guides, which already use `../../` and `../before-install.md`. * installation/install-fluent-package/install-by-dmg-fluent-package.md: same problem on the link to install-by-gem.md. * installation/install-by-{deb,rpm}-td-agent-v4.md: the td-agent version comparison page is in appendix/, not quickstart/. * how-to-guides/apache-to-s3.md, how-to-guides/http-to-td.md: missing `.md` extension. * appendix/README.md: SUMMARY.md listed this file but it did not exist, so the Appendix section had no landing page. Added one. Anchor fixes, verified against the ids actually rendered on docs.fluentd.org: * deployment/system-config.md: `#Recovery` -> `#recovery`. * output/forward.md: `#how-to-enable-tls/ssl-encryption` -> `#how-to-enable-tls-encryption` (2 links); the heading in input/forward.md is "How to Enable TLS Encryption". * configuration/config-file.md: GitBook prefixes `id-` to anchors generated from headings that start with a digit, so the id of "5. Group filter and output: the label directive" is `id-5.-group-filter-and-output-the-label-directive`. This is the only link in the repository affected. * filter/README.md, formatter/README.md: the "Filter Plugins" and "Text Formatter Plugins" sections no longer exist in plugin-development/README.md. Point at api-plugin-filter.md and api-plugin-formatter.md instead. Redirect fixes in .gitbook.yaml: Most redirect targets name paths that no longer exist in the repository, but GitBook tracks those file moves internally and resolves them anyway. Three do not, because the pages were never at the recorded path, so the old URLs return 404. Point them at the current paths: * v1.0/articles/out_opensearch -> output/opensearch.md * v1.0/articles/formatter_tsv -> formatter/tsv.md * v1.0/articles/api-plugin-helper-metrics -> plugin-helper-overview/api-plugin-helper-metrics.md Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
1 parent 3dee451 commit f70d7e0

16 files changed

Lines changed: 60 additions & 50 deletions

.gitbook.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ redirects:
103103
v1.0/articles/out_exec: plugins/output/exec.md
104104
v1.0/articles/out_mongo_replset: plugins/output/mongo_replset.md
105105
v1.0/articles/out_relabel: plugins/output/relabel.md
106-
v1.0/articles/out_opensearch: plugins/output/opensearch.md
106+
v1.0/articles/out_opensearch: output/opensearch.md
107107

108108
# Plugin/Filter
109109
v1.0/articles/filter_geoip: plugins/filter/geoip.md
@@ -136,7 +136,7 @@ redirects:
136136
v1.0/articles/formatter_single_value: plugins/formatter/single_value.md
137137
v1.0/articles/formatter_json: plugins/formatter/json.md
138138
v1.0/articles/formatter_stdout: plugins/formatter/stdout.md
139-
v1.0/articles/formatter_tsv: plugins/formatter/tsv.md
139+
v1.0/articles/formatter_tsv: formatter/tsv.md
140140

141141
# Plugin/Buffer
142142
v1.0/articles/buffer-plugin-overview: plugins/buffer/README.md
@@ -204,7 +204,7 @@ redirects:
204204
v1.0/articles/api-plugin-helper-storage: developer/api-plugin-helper-storage.md
205205
v1.0/articles/api-plugin-helper-socket: developer/api-plugin-helper-socket.md
206206
v1.0/articles/api-plugin-helper-http_server: developer/api-plugin-helper-http_server.md
207-
v1.0/articles/api-plugin-helper-metrics: developer/api-plugin-helper-metrics.md
207+
v1.0/articles/api-plugin-helper-metrics: plugin-helper-overview/api-plugin-helper-metrics.md
208208

209209
# Obsolete Pages
210210
v1.0/categories/data-analytics: README.md

appendix/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Appendix
2+
3+
This section collects supplementary articles that do not fit into the other sections, such as migration guides and comparisons between the discontinued `td-agent` versions.
4+
5+
## Articles
6+
7+
* [Update from v0.12 to v1](update-from-v0.12.md): how to update Fluentd to v1.0 from v0.12 or earlier.
8+
* [td-agent v2 vs v3 vs v4](td-agent-v2-vs-v3-vs-v4.md): differences between the `td-agent` series, kept for reference. Note that `td-agent` has already reached End of Life \(EOL\); use [`fluent-package`](../installation/install-fluent-package/) instead.
9+
10+
If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation \(CNCF\)](https://cncf.io/). All components are available under the Apache 2 License.

configuration/config-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ These parameters are reserved and are prefixed with an `@` symbol:
581581

582582
* `@label`: specifies the label symbol. See
583583

584-
[label](config-file.md#5.-group-filter-and-output-the-label-directive)
584+
[label](config-file.md#id-5.-group-filter-and-output-the-label-directive)
585585

586586
section.
587587

deployment/system-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ See [Output Plugins - overflow_action](../output#overflow_action) for details.
328328
| :--- | :--- | :--- |
329329
| string | nil (use unique path for the instance) | 1.18.0 |
330330

331-
Set this option when recovering buffers ([Source Only Mode - Recovery](source-only-mode.md#Recovery)).
331+
Set this option when recovering buffers ([Source Only Mode - Recovery](source-only-mode.md#recovery)).
332332

333333
See [Buffer Plugins - file - path](../buffer/file.md#path) for details.
334334

filter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Like the `<match>` directive for output plugins, `<filter>` matches against a ta
5353

5454
Only the events whose `message` field contains `cool` get the new field `hostname` with the machine's hostname as its value.
5555

56-
Users can create their own custom plugins with a bit of Ruby. See [this section](../plugin-development/#filter-plugins) for more information.
56+
Users can create their own custom plugins with a bit of Ruby. See [this section](../plugin-development/api-plugin-filter.md) for more information.
5757

5858
## Filter Chain Optimization
5959

formatter/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The output changes to
4848

4949
i.e., each line is a single JSON object without "time" and "tag" fields. If you want to include "time" and "tag", use [Inject section](../configuration/inject-section.md).
5050

51-
See [this section](../plugin-development/#text-formatter-plugins) to learn how to develop a custom formatter.
51+
See [this section](../plugin-development/api-plugin-formatter.md) to learn how to develop a custom formatter.
5252

5353
## List of Built-in Formatters
5454

how-to-guides/apache-to-s3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ You can install Fluentd via major packaging systems.
3737

3838
### Install plugin
3939

40-
If [`out_s3` (fluent-plugin-s3)](../output/s3) is not installed yet, please install it manually.
40+
If [`out_s3` (fluent-plugin-s3)](../output/s3.md) is not installed yet, please install it manually.
4141

4242
See [Plugin Management](../installation/post-installation-guide.md#plugin-management) section for how to install fluent-plugin-s3 on your environment.
4343

how-to-guides/http-to-td.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ You can install Fluentd via major packaging systems.
3535

3636
If `out_td` (fluent-plugin-td) is not installed yet, please install it manually.
3737

38-
See [Plugin Management](../installation/post-installation-guide#plugin-management) section for how to install fluent-plugin-td on your environment.
38+
See [Plugin Management](../installation/post-installation-guide.md#plugin-management) section for how to install fluent-plugin-td on your environment.
3939

4040
{% hint style='info' %}
4141
If you use `fluent-package`, out_td (fluent-plugin-td) is bundled by default.

installation/install-by-deb-td-agent-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Fluentd is written in Ruby for flexibility, with performance-sensitive parts in
88

99
That is why [Treasure Data, Inc](http://www.treasuredata.com/) provides **the stable distribution of Fluentd**, called `td-agent`. The differences between Fluentd and `td-agent` can be found [here](https://www.fluentd.org/faqs).
1010

11-
This installation guide is for `td-agent` v4. `td-agent` v4 uses fluentd v1 in the core. See [this page](../quickstart/td-agent-v2-vs-v3-vs-v4.md) for the comparison and supported OS.
11+
This installation guide is for `td-agent` v4. `td-agent` v4 uses fluentd v1 in the core. See [this page](../appendix/td-agent-v2-vs-v3-vs-v4.md) for the comparison and supported OS.
1212

1313
## Installing `td-agent`
1414

installation/install-by-rpm-td-agent-v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Fluentd is written in Ruby for flexibility, with performance-sensitive parts in
88

99
That is why [Treasure Data, Inc](http://www.treasuredata.com/) provides **the stable distribution of Fluentd**, called `td-agent`. The differences between Fluentd and `td-agent` can be found [here](https://www.fluentd.org/faqs).
1010

11-
This installation guide is for `td-agent` v4. `td-agent` v4 uses fluentd v1 in the core. See [this page](../quickstart/td-agent-v2-vs-v3-vs-v4.md) for the comparison and supported OS.
11+
This installation guide is for `td-agent` v4. `td-agent` v4 uses fluentd v1 in the core. See [this page](../appendix/td-agent-v2-vs-v3-vs-v4.md) for the comparison and supported OS.
1212

1313
## How to install `td-agent`
1414

0 commit comments

Comments
 (0)