-
Notifications
You must be signed in to change notification settings - Fork 804
Sync some classsynopses with stubs #3367
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@haszi are the ID changes for the class constants an issue for linking?
Unfortunately they are. Class constant IDs are linking to their declaration only if they are in the |
Ah, it has just come to my mind what the initial problem was: since these classes are called the same way as the extension, the ID on the global constant page collides with the class constant list ID. E.g. in case of Do you have an idea what the solution could be? I guess the most disruptive one is to use a different pattern for either global constants or class constants, like |
I'm confused? Surely a non-class constant cannot conflict as the former must be |
Not the ID of the constants themselves, but the ID of the constant container (?) collides. See doc-en/reference/ffi/constants.xml Line 4 in 5837fed
Line 64 in 5837fed
|
Could we maybe just remove that file and appendix? If the extension doesn't provide any constants I'm not sure it is super useful to have the page in the first place? |
That may work in these specific cases, but we should rather solve the general issue I think 🤔 because the generator should produce valid code |
IDs of classes are already in the Edit: |
Yes, I'm all for going with the fix which requires the least amount of change, but unfortunately, as far as I remember, the constant IDs have to start with the container ID. 🤔 Let me check if this is still the case. |
Looks like, it's not 🥳 I'm not sure what I remember about, maybe I just mixed up something. |
There are a few properties which start with a double hyphen, like |
Since we already removed them from constant IDs and they aren't part of the method IDs either, I think it would make sense to remove them from all IDs. From a quick look ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, @haszi can you confirm?
Looks good to me. |
No description provided.