Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Nov 20, 2024

@haszi not sure if I should use a <constant> tag here for linking, but <enumidentifier> is not allowed... I could use <code>, however.

@haszi
Copy link
Contributor

haszi commented Nov 24, 2024

@haszi not sure if I should use a <constant> tag here for linking, but <enumidentifier> is not allowed... I could use <code>, however.

Semantically, <constant> seems to be much closer to what we want here.

PHP isn't the only language to allow enums as default values so the <enumidentifier> not being allowed seems like an oversight in the DocBook spec. :-)

@haszi
Copy link
Contributor

haszi commented Nov 24, 2024

<constant> won't link to an enum. I'm not sure how to handle the linking though.

@Girgias
Copy link
Member Author

Girgias commented Nov 24, 2024

<constant> won't link to an enum. I'm not sure how to handle the linking though.

I suppose one could add a role attribute to the constant tag, e.g. <constant role="enum"> to link enum cases?

@Girgias
Copy link
Member Author

Girgias commented Feb 6, 2025

Superseded by #4425

@Girgias Girgias closed this Feb 6, 2025
@Girgias Girgias deleted the round-mode-param branch February 6, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants