This patch does various things to silence the warnings that show up when
generating the website documentation.
First, this patch adds the missing definition for special member methods
in every SBAPI class. If the class cannot implement one of the special
member method, we just define it as a null operation (pass).
This should fix the following warnings:
WARNING: missing attribute __int__ in object lldb.SB* WARNING: missing attribute __len__ in object lldb.SB* WARNING: missing attribute __hex__ in object lldb.SB* WARNING: missing attribute __oct__ in object lldb.SB* WARNING: missing attribute __iter__ in object lldb.SB*
Then, it un-skips the various static methods that we didn't generate
the methods for, since it's not necessary thanks to the automod-api module.
Finally, this comments out the _static directory in the sphinx config,
since we don't need it anymore.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
@JDevlieghere AFAIK, if we want to silence the warnings, we should disable generating special members (such as __hex__) however I think this would be a missed opportunity since they can make using SB classes in python more ergonomic, for example using hex(SBAddress) instead of hex(SBAddress.GetLoadAddress)