Skip to content

Conversation

maiste
Copy link
Collaborator

@maiste maiste commented Aug 14, 2025

This PR tries to address some parts of #12156.

confval generates anchors when describe does not. It might generate warnings due to references existing twice. It doesn't affect our use case, but, it could be a problem at some point if we directly use the confval in our refs.

`confval` generates anchors when `describe` does not.

Signed-off-by: Etienne Marais <[email protected]>
@maiste maiste added the docs Documentation improvements label Aug 14, 2025
@Alizter
Copy link
Collaborator

Alizter commented Aug 14, 2025

I am not a fan of these reference names colliding. Would it be possible to introduce our own directive similar to describe and confval where we can make the reference value a bit more qualified so we don't get these conflicts?

@maiste
Copy link
Collaborator Author

maiste commented Aug 15, 2025

That's a good question. It may be possible but my understanding is it would require to code it in Python. I'm not enough aware of Sphinx possibilities to provide a confident answer. The PR was mostly to open the question.

If we can extend it without having to write a full library, it would be clean!

EDIT: I converted the issue to DRAFT to make it clear not to merge it and give time to investigate.

@maiste maiste marked this pull request as draft August 17, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants