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 test failure caused by untranslated internal link #3213

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

ahpook
Copy link
Contributor

@ahpook ahpook commented Apr 12, 2024

Prior to this change the tests would fail with:

Checking 358 external links...
Ran on 300 files!

  • _site/pcm/best-practices/index.html

This fixes the internal anchor to match the translated header text.

@ahpook ahpook requested a review from a team as a code owner April 12, 2024 20:22
Prior to this change the tests would fail with:

Checking 358 external links...
Ran on 300 files!
- _site/pcm/best-practices/index.html
  *  linking to internal hash #share-ownership-of-your-project that does not exist (line 557)
       <a href="../building-community/#share-ownership-of-your-project">share ownership of the project</a>

This fixes the internal anchor to match the translated header text.
@ahpook
Copy link
Contributor Author

ahpook commented Apr 12, 2024

Couple strange things that we noticed pairing on this w/ @jmeridth 👍

  • the link checking errors did not come up when i ran the test locally, test run was clean
  • when the tests did run via Actions, it failed on the first error it found and stopped, masking the fact that there was a second error that required a further fix.

@ahpook ahpook added this pull request to the merge queue Apr 12, 2024
Merged via the queue into main with commit 26b0527 Apr 12, 2024
3 checks passed
@ahpook ahpook deleted the ahpook/fix-pcm-test-failure branch April 12, 2024 20:41
@jmeridth jmeridth mentioned this pull request Apr 12, 2024
@BlueButterflies
Copy link
Contributor

BlueButterflies commented Apr 16, 2024

Hi guys, I finally managed to resolve the link connections, thanks also to your interventions.
You were helpful, especially because I didn't understand what was wrong with the links.
Thanks again.
I'm happy to have been part of the translation of the site.
I await your approval.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants