This reference manual for gedit is intended to write plugins. How to write a gedit plugin is explained in the files under the docs/ directory inside the Git repository of gedit.
See also the Gedit Technology web resources.