Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid links in the documentation #1256

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

aleksdmladenovic
Copy link
Contributor

@aleksdmladenovic aleksdmladenovic commented Aug 9, 2024

Description

Relative links in markdown files produce 404 error when it's deployed on the documentation site. Reviewed all relative links in markdown files and fixed them all. This commit doesn't include any CIs to prevent from 404 errors permanently ( maybe that's what to do next from here ), but it's a hotfix for currently not available links in the documentation website which are actually hurting user experience.

Fixes #1242

( Not a perfect fix for the issue, just a hotfix to solve the user-interfacing problems only )

Type of change

Please delete options that aren't relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update

How Has This Been Tested?

It's been tested by deploying the documentation website locally.

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

@aleksdmladenovic
Copy link
Contributor Author

Waiting for review on this. cc: @MarcusSorealheis, @allada, @aaronmondal

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 0 of 2 LGTMs obtained, and 0 of 8 files reviewed, and 1 discussions need to be resolved


CONTRIBUTING.md line 90 at r1 (raw file):

NativeLink ships almost all of its tooling in a nix flake which is configured
via a [`flake.nix`](https://github.com/tracemachina/nativelink/tree/master/flake.nix) file in the root of the repository. While it's

nit: master => main

Copy link
Contributor Author

@aleksdmladenovic aleksdmladenovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. cc: @allada

Reviewable status: 0 of 2 LGTMs obtained, and 0 of 8 files reviewed, and pending CI: Analyze (javascript-typescript), Analyze (python), Bazel Dev / ubuntu-22.04, Cargo Dev / macos-13, Cargo Dev / ubuntu-22.04, Installation / macos-13, Installation / macos-14, Installation / ubuntu-22.04, Local / ubuntu-22.04, Publish image, Publish nativelink-worker-init, Publish nativelink-worker-lre-cc, Remote / large-ubuntu-22.04, asan / ubuntu-22.04, docker-compose-compiles-nativelink (22.04), integration-tests (22.04), macos-13, pre-commit-checks, ubuntu-20.04 / stable, ubuntu-22.04, ubuntu-22.04 / stable, vale, windows-2022 / stable

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+@aaronmondal

+@blakehatch, please confirm the changes do what we want in docs. I can see a potential problem if we ever want to make a "staging" area for docs, since it'll point to public docs always.

Reviewed 3 of 8 files at r1, 5 of 5 files at r2, all commit messages.
Reviewable status: 0 of 2 LGTMs obtained, and all files reviewed, and pending CI: Remote / large-ubuntu-22.04 (waiting on @aaronmondal and @blakehatch)

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: 1 of 2 LGTMs obtained, and all files reviewed, and pending CI: Remote / large-ubuntu-22.04

Relative links in markdown files produce 404 error when it's deployed
on the documentation site. Reviewed all relative links in markdown
files and fixed them all. This commit doesn't include any CIs to
prevent from 404 errors permanently ( maybe that's what to do next
from here ), but it's a hotfix for currently not available links in
the documentation website which are actually hurting user experience.
@aleksdmladenovic
Copy link
Contributor Author

Rebased.

Hope you to check this. cc: @MarcusSorealheis, @allada, @aaronmondal

Copy link
Member

@allada allada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-@aaronmondal

Reviewable status: 1 of 2 LGTMs obtained, and all files reviewed (waiting on @blakehatch)

Copy link
Member

@blakehatch blakehatch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate the ethos behind this as a hot-fix for the 404 issues, I do think it could cause problems for a "staging" area on the docs but that's less important than the imminent UX issue.

Only nit is that this PR should not close Aaron's issue #1242 even though it partially addresses it because we still need to build out the docs checking system. Other than that :lgtm: as all the links work!

Reviewed all commit messages.
Reviewable status: :shipit: complete! 2 of 2 LGTMs obtained, and all files reviewed

@allada allada merged commit ae0c82c into TraceMachina:main Aug 16, 2024
27 checks passed
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.

Add link checking to docs
4 participants