diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 4b829a2eeb..14a42b0a74 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -36,6 +36,7 @@ gtkhbox.sgml
gtkhpaned.sgml
gtkiconview.sgml
gtkimagemenuitem.sgml
+gtkimcontext.sgml
gtkimcontextsimple.sgml
gtkimmulticontext.sgml
gtkinvisible.sgml
diff --git a/docs/reference/gtk/tmpl/gtkimcontext.sgml b/docs/reference/gtk/tmpl/gtkimcontext.sgml
deleted file mode 100644
index 1484fdaaf3..0000000000
--- a/docs/reference/gtk/tmpl/gtkimcontext.sgml
+++ /dev/null
@@ -1,213 +0,0 @@
-
-GtkIMContext
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-@arg1:
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-@arg1:
-@arg2:
-@Returns:
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-
-
-
-
-
-
-@imcontext: the object which received the signal.
-@Returns:
-
-
-
-
-
-
-@preedit_start:
-@preedit_end:
-@preedit_changed:
-@commit:
-@retrieve_surrounding:
-@delete_surrounding:
-@set_client_window:
-@get_preedit_string:
-@filter_keypress:
-@focus_in:
-@focus_out:
-@reset:
-@set_cursor_location:
-@set_use_preedit:
-@set_surrounding:
-@get_surrounding:
-
-
-
-
-
-
-@context_id:
-@context_name:
-@domain:
-@domain_dirname:
-@default_locales:
-
-
-
-
-
-
-@context:
-@window:
-
-
-
-
-
-
-
-@context:
-@str:
-@attrs:
-@cursor_pos:
-
-
-
-
-
-
-
-@context:
-@event:
-@Returns:
-
-
-
-
-
-
-
-@context:
-
-
-
-
-
-
-
-@context:
-
-
-
-
-
-
-
-@context:
-
-
-
-
-
-
-
-@context:
-@area:
-
-
-
-
-
-
-
-@context:
-@use_preedit:
-
-
-
-
-
-
-
-@context:
-@text:
-@len:
-@cursor_index:
-
-
-
-
-
-
-
-@context:
-@text:
-@cursor_index:
-@Returns:
-
-
-
-
-
-
-
-@context:
-@offset:
-@n_chars:
-@Returns:
-
-