Skip to content

Conversation

@willpower232
Copy link
Collaborator

I went to look at the Hetzner V2 documentation and found they were based on an external link which wasn't working. I think this is the fix but I might be wrong.

Also I don't think any of the external links are working on the providers index page https://docs.dnscontrol.org/provider/index

image

I wonder if these are all dead links which create external links when the site is compiled?

@tlimoncelli
Copy link
Collaborator

Good catch! We renamed some files/directories and missed those links. Thanks for the PR!

@tlimoncelli tlimoncelli changed the title 📚 fix incorrect hetzner links DOCS: Fix incorrect hetzner links Jan 20, 2026
@tlimoncelli tlimoncelli merged commit 251f2af into StackExchange:main Jan 20, 2026
5 of 6 checks passed
@willpower232
Copy link
Collaborator Author

@tlimoncelli the page hasn't updated yet, did I change the wrong/right place? there are others which aren't hetzner which are also broken, should I PR those as well?

@tlimoncelli
Copy link
Collaborator

@cafferata can you please advise?

@cafferata
Copy link
Collaborator

@cafferata can you please advise?

Sure! I see you (@tlimoncelli) reverted theses changes in 7db2055 🤓

@willpower232
Copy link
Collaborator Author

Oh I forget thats a generated file so this was a relatively pointless PR 😅

Do the files have to contain underscores to match the name of the provider?

@cafferata
Copy link
Collaborator

Do the files have to contain underscores to match the name of the provider?

@willpower232 I am not sure. I can see that @chicks-net introduced a refactor in #3909 which appears to cause this behavior. @chicks-net would you be willing to take a look at this bug?

https://docs.dnscontrol.org/provider/index#:~:text=HETZNER_V2

cc: @tlimoncelli: #3909 (comment)

@chicks-net
Copy link
Collaborator

I will look into it this weekend. Traveling today.

@chicks-net
Copy link
Collaborator

Ok, I think I see what is going on here. The generated docs include an underscore, but the documentation filename no longer has an underscore in it. The same issue is happening with azure/bunny/gandi which had underscores in the filenames before #3909 . So this is definitely my fault. Trying to fix in #4041 .

P.S. gitbook is still trying to torment me, but I'm trying to come up with some linting that would catch these issues before they're user-facing. Until then.. 😂

tlimoncelli pushed a commit that referenced this pull request Feb 2, 2026
# context

#3909 introduced a bug in the feature table matrix. Provider docs had
underscores removed, but the generated table still included the
underscores. This was brought to my attention in
<#3988 (comment)>.
It was apparent that the issue effected all providers that had
underscores.

# changes

Fix generator to remove underscores from those providers. The user
display will still include the
underscores, but the links should work again.

# verify

once the PR GHAs run....

- provider table links are working again! 🎉 

# question

Is there a cleaner way to fix this? This seems pretty good to me, but I
always wonder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants