Skip to content

docs: fix broken relative links - #6294

Open
rida-ghreizy wants to merge 1 commit into
fluid-cloudnative:masterfrom
rida-ghreizy:docs/fix-broken-links
Open

rida-ghreizy wants to merge 1 commit into
fluid-cloudnative:masterfrom
rida-ghreizy:docs/fix-broken-links

Conversation

@rida-ghreizy

Copy link
Copy Markdown

Ⅰ. Describe what this PR does

Fixes 14 relative links in docs/ that point at files that don't exist:

Page Link Fixed target
docs/{en,zh}/samples/vineyard/accelerate_kubeflow_pipelines.md samples/vineyard/preprocess-data/preprocess-data.y preprocess-data.py (the same page links it correctly further down)
same ../../../userguide/install.md (resolves to /userguide/install.md) ../../userguide/install.md
docs/zh/samples/application_controller.md, docs/zh/samples/fuse_recover.md juicefs_runtime.md juicefs/juicefs_runtime.md (the zh JuiceFS pages are in a subfolder; the en pages are not)
docs/{en,zh}/core-concepts/introduction.md, docs/{en,zh}/userguide/overview.md docs/en/TOC.md, docs/zh/TOC.md (written relative to the repo root, as in the README) ../../en/TOC.md, ../../zh/TOC.md

Ⅱ. Does this pull request fix one issue?

NONE

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Documentation only.

Ⅳ. Describe how to verify it

A script that resolves every relative link in docs/**/*.md against the file system reports these 14 links before and none of them after. Not changed: samples/hdfs in accelerate_data_accessing_by_hdfs.md. That folder is no longer in the repository, and I didn't want to guess its replacement.

Ⅴ. Special notes for reviews

None.

- vineyard pipeline sample (en, zh): preprocess-data.y -> .py, and the
  install guide link went one directory too high
- application_controller and fuse_recover (zh): juicefs_runtime.md is
  under juicefs/
- introduction and overview (en, zh): the TOC links were written
  relative to the repository root

Signed-off-by: rida <ghreizyrida1@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant