Incorrect link on the CoC page #13

Closed
opened 2025-04-22 14:16:25 +00:00 by misc · 3 comments
misc commented 2025-04-22 14:16:25 +00:00 (Migrated from gitlab.com)

On https://docs.fedoraproject.org/en-US/project/code-of-conduct/ , there is a incorrectly generated link:

$ curl -s https://docs.fedoraproject.org/en-US/project/code-of-conduct/ | grep adoc | tail -1 
This email will be converted into a private Code of Conduct ticket by the <a href="#coc-committee.adoc" class="xref unresolved">Code of Conduct Committee</a>.</p>

But if I build locally on my Fedora (40, but shouldn't matter too much), it is correctly generated:

$ grep  "This email will be converted" public/project/code-of-conduct/index.html
This email will be converted into a private Code of Conduct ticket by the <a href="../coc-committee/" class="xref page">Code of Conduct Committee</a>.</p>
On https://docs.fedoraproject.org/en-US/project/code-of-conduct/ , there is a incorrectly generated link: ``` $ curl -s https://docs.fedoraproject.org/en-US/project/code-of-conduct/ | grep adoc | tail -1 This email will be converted into a private Code of Conduct ticket by the <a href="#coc-committee.adoc" class="xref unresolved">Code of Conduct Committee</a>.</p> ``` But if I build locally on my Fedora (40, but shouldn't matter too much), it is correctly generated: ``` $ grep "This email will be converted" public/project/code-of-conduct/index.html This email will be converted into a private Code of Conduct ticket by the <a href="../coc-committee/" class="xref page">Code of Conduct Committee</a>.</p> ```
misc commented 2025-04-22 14:19:39 +00:00 (Migrated from gitlab.com)

I just noticed there is the same issue on https://docs.fedoraproject.org/en-US/project/code-of-conduct/committee/

$ curl -s https://docs.fedoraproject.org/en-US/project/code-of-conduct/committee/ | grep "xref unresolved"  | wc -l
2

But not on other pages. I also notice that build.sh throw a ton of error warning with xref when I run it locally, but I guess that's unrelated.

I just noticed there is the same issue on https://docs.fedoraproject.org/en-US/project/code-of-conduct/committee/ ``` $ curl -s https://docs.fedoraproject.org/en-US/project/code-of-conduct/committee/ | grep "xref unresolved" | wc -l 2 ``` But not on other pages. I also notice that build.sh throw a ton of error warning with xref when I run it locally, but I guess that's unrelated.
misc commented 2025-04-22 14:57:06 +00:00 (Migrated from gitlab.com)

So my checkout was not up to date, so maybe the issue is on the asciidoc and not the builder. I will check after doing so more cleanup in my home, because suddenly, it take 1G to checkout the new repo.

So my checkout was not up to date, so maybe the issue is on the asciidoc and not the builder. I will check after doing so more cleanup in my home, because suddenly, it take 1G to checkout the new repo.
Owner

Appears to be working fine.

Appears to be working fine.
Sign in to join this conversation.
No description provided.