pgi-docgen
pgi-docgen copied to clipboard
API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/#AppStream-1.0/classes/Component.html#AppStream.Component.props.urls It returns a dict, not a GLib.HashTable
The docs are just copies of the invoker, so best not include them and reference the invoker instead.
For example https://lazka.github.io/pgi-docs/GES-1.0/classes/VideoSource.html#GES.VideoSource suggests that you can use "GES.VideoSource.props.posx" but that is not true, you can only read a property with http://lazka.github.io/pgi-docs/#GES-1.0/classes/TrackElement.html#GES.TrackElement.get_child_property
https://lazka.github.io/pgi-docs/#GLib-2.0/classes/Error.html#GLib.Error
All the basics are in place, now the most annoying issues are with the docs/annotations themselves. https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations These were written some time ago. Verify if they are still a problem...
api/Gtk_3.0/classes/TreeModelSort Possible solution: Each python code fragment is saved in "Namespace-Version-Attribute-.py" e.g. "Gtk-3.0.TreeModelSort-fcc1cdba86b0c37d532480f7e7e3ecf2.py". The hash gets computed using the C inline code. pgi-docgen replaces it with the python code or...
(First, I would like to apologize for writing the next part in viennese slang, but it feels more "localized" when doing so. For those not understanding German, the gist of...
''' trio@radio2:~/pgi-docgen/docker $ bash -x ./build-docs.sh + set -e + TAG=ghcr.io/pygobject/pgi-docgen:v4 ++ pwd + sudo docker run --security-opt label=disable --rm --volume /home/trio/pgi-docgen/docker/..:/home/user/app -t ghcr.io/pygobject/pgi-docgen:v4 pgi-docgen update-debian-info ++ pwd + sudo...