pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
127 stars 36 forks source link

Be more strict when matching C symbols #138

Open lazka opened 7 years ago

lazka commented 7 years ago

In case there is no explicit reference we should only convert matches if they are namespaced to prevent false positives.

e.g.: Only match if it contains "_" or an uppercase character that isn't the first one.

https://lazka.github.io/pgi-docs/#Gtk-3.0/classes/CellRenderer.html#Gtk.CellRenderer.props.visible