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

docs: correct three broken internal links #1526

Merged
merged 4 commits into from
Feb 9, 2023
Merged

docs: correct three broken internal links #1526

merged 4 commits into from
Feb 9, 2023

Conversation

soobinrho
Copy link
Contributor

@soobinrho soobinrho commented Oct 24, 2022

Problem

When I was reading the documentation, I noticed that some links to other documents inside the repository were giving a 404 error. So, I cloned the repository and searched if there's any other link that is also broken. There were three broken links. It turns out that links such as [Quickstart](/docs/maven-example.md) were giving the errors. These links were pointing to, for example, https://kompose.io/docs/maven-example, while the correct link is https://kompose.io/maven-example.

[1 of 3] Quickstart link at https://kompose.io/integrations/
eg
[2 of 3] Kompose Installation Guide link at https://kompose.io/maven-example/
[3 of 3] conversion document link at https://kompose.io/user-guide/

Commits

  • The fix is to remove the /docs part and the .md part.
    [before] [Quickstart](/docs/maven-example.md) -> [after] [Quickstart](/maven-example)
  • These three commits were tested with bundle exec jekyll serve. Every page being changed in this PR works correctly now.

@k8s-ci-robot
Copy link
Contributor

Welcome @soobinrho!

It looks like this is your first PR to kubernetes/kompose 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/kompose has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 24, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Oct 24, 2022
@soobinrho soobinrho changed the title docs: fix three broken internal links docs: correct three broken internal links Oct 25, 2022
@hangyan
Copy link
Contributor

hangyan commented Oct 31, 2022

CI seems broken, fixing on that now. After that, we can merge this.

@soobinrho
Copy link
Contributor Author

CI seems broken, fixing on that now. After that, we can merge this.

Sounds good!

@cdrage
Copy link
Member

cdrage commented Jan 13, 2023

Sorry about the delay @soobinrho can you please rebase this PR against master and let's try to get this merged? Thanks :)

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2023
@soobinrho
Copy link
Contributor Author

Sorry about the delay @soobinrho can you please rebase this PR against master and let's try to get this merged? Thanks :)

No problem at all! I just rebased this PR against master by:

git remote add upstream https://github.com/kubernetes/kompose.git
git fetch upstream
git rebase upstream/master
git push -f

Please let me know if you need anything else 👍

soobinrho and others added 4 commits January 21, 2023 03:58
1. When I was reading the documentation, I noticed that links to other documents inside the repository were giving a 404 error. So, I cloned the repository and found found that all links such as "[Quickstart](/docs/maven-example.md)" were giving the errors.

2. The fix is to remove the `/docs/` part and the `.md` part.

3. I tested these commits with `bundle exec jekyll serve`. All the pages getting changed by the commits now work correctly.
- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.
- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdrage, soobinrho

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cdrage
Copy link
Member

cdrage commented Feb 9, 2023

Hey @soobinrho thank you so much for fixing the links! I've added some changes to this commit (resolved the conflict) and will now merge it in :) thanks again.

@cdrage cdrage merged commit 5fb58ff into kubernetes:main Feb 9, 2023
@soobinrho soobinrho deleted the fix-docs-broken-internal-lnks branch February 9, 2023 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants