Sync some classsynopses with stubs#3367
Conversation
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 ( |
Looks good to me. |
No description provided.