[gobject-introspection] tests/doctool: Compare -expected directories instead of single files



commit c6b8aa911683bd6682b3ef5b5f8dbb7aae779bd9
Author: Tomeu Vizoso <tomeu vizoso collabora co uk>
Date:   Mon Aug 15 14:52:52 2011 +0200

    tests/doctool: Compare -expected directories instead of single files

 .../GIRepository.ArgInfo.page                      |   10 +++++
 .../GIRepository.ArrayType.page                    |   10 +++++
 .../GIRepository.AttributeIter.page                |   12 +++++
 .../GIRepository.BaseInfo.equal.page               |   13 ++++++
 .../GIRepository.BaseInfo.get_attribute.page       |   11 +++++
 .../GIRepository.BaseInfo.get_container.page       |   13 ++++++
 .../GIRepository.BaseInfo.get_name.page            |   13 ++++++
 .../GIRepository.BaseInfo.get_namespace.page       |   11 +++++
 .../GIRepository.BaseInfo.get_typelib.page         |   11 +++++
 .../GIRepository.BaseInfo.is_deprecated.page       |   12 +++++
 .../GIRepository.BaseInfo.iterate_attributes.page  |   29 +++++++++++++
 .../GIRepository.BaseInfo.page                     |   43 ++++++++++++++++++++
 .../GIRepository.BaseInfo.ref.page                 |   11 +++++
 .../GIRepository.BaseInfo.unref.page               |   12 +++++
 .../GIRepository.CallableInfo.page                 |   11 +++++
 .../GIRepository.CallbackInfo.page                 |   10 +++++
 .../GIRepository.ConstantInfo.page                 |   10 +++++
 .../GIRepository.Direction.page                    |   10 +++++
 .../GIRepository.EnumInfo.page                     |   10 +++++
 .../GIRepository.FieldInfo.page                    |   10 +++++
 .../GIRepository.FieldInfoFlags.page               |   10 +++++
 .../GIRepository.FunctionInfo.page                 |   10 +++++
 .../GIRepository.FunctionInfoFlags.page            |   10 +++++
 .../GIRepository.InfoType.page                     |   10 +++++
 .../GIRepository.InterfaceInfo.page                |   10 +++++
 .../GIRepository.ObjectInfo.page                   |   10 +++++
 .../GIRepository.ObjectInfoGetValueFunction.page   |   10 +++++
 .../GIRepository.ObjectInfoRefFunction.page        |   10 +++++
 .../GIRepository.ObjectInfoSetValueFunction.page   |   10 +++++
 .../GIRepository.ObjectInfoUnrefFunction.page      |   10 +++++
 .../GIRepository.PropertyInfo.page                 |   10 +++++
 .../GIRepository.RegisteredTypeInfo.page           |   10 +++++
 ...GIRepository.Repository.enumerate_versions.page |   12 +++++
 ...Repository.Repository.find_by_error_domain.page |   14 ++++++
 .../GIRepository.Repository.find_by_gtype.page     |   16 +++++++
 .../GIRepository.Repository.find_by_name.page      |   14 ++++++
 .../GIRepository.Repository.get_c_prefix.page      |   14 ++++++
 .../GIRepository.Repository.get_dependencies.page  |   14 ++++++
 .../GIRepository.Repository.get_info.page          |   15 +++++++
 ...epository.Repository.get_loaded_namespaces.page |   11 +++++
 .../GIRepository.Repository.get_n_infos.page       |   13 ++++++
 ...GIRepository.Repository.get_shared_library.page |   15 +++++++
 .../GIRepository.Repository.get_typelib_path.page  |   14 ++++++
 .../GIRepository.Repository.get_version.page       |   13 ++++++
 .../GIRepository.Repository.is_registered.page     |   16 +++++++
 .../GIRepository.Repository.load_typelib.page      |   11 +++++
 .../GIRepository.Repository.page                   |   34 +++++++++++++++
 .../GIRepository.Repository.require.page           |   15 +++++++
 .../GIRepository.Repository.require_private.page   |   15 +++++++
 .../GIRepository.RepositoryClass.page              |   11 +++++
 .../GIRepository.RepositoryError.page              |   10 +++++
 .../GIRepository.RepositoryLoadFlags.page          |   11 +++++
 .../GIRepository.RepositoryPrivate.page            |   11 +++++
 .../GIRepository.ScopeType.page                    |   12 +++++
 .../GIRepository.SignalInfo.page                   |   10 +++++
 .../GIRepository.StructInfo.page                   |   10 +++++
 .../GIRepository.Transfer.page                     |   19 +++++++++
 .../GIRepository.TypeInfo.page                     |   10 +++++
 .../GIRepository.TypeTag.page                      |   10 +++++
 .../GIRepository.Typelib.free.page                 |   11 +++++
 .../GIRepository.Typelib.get_namespace.page        |   11 +++++
 .../GIRepository.Typelib.page                      |   11 +++++
 .../GIRepository.Typelib.symbol.page               |   11 +++++
 .../GIRepository.UnionInfo.page                    |   10 +++++
 .../GIRepository.UnresolvedInfo.page               |   11 +++++
 .../GIRepository.VFuncInfo.page                    |   10 +++++
 .../GIRepository.VFuncInfoFlags.page               |   10 +++++
 .../GIRepository.ValueInfo.page                    |   10 +++++
 .../GIRepository._Argument.page                    |   10 +++++
 .../GIRepository._BaseInfoStub.page                |   11 +++++
 .../GIRepository.arg_info_get_closure.page         |   12 +++++
 .../GIRepository.arg_info_get_destroy.page         |   12 +++++
 .../GIRepository.arg_info_get_direction.page       |   12 +++++
 ...Repository.arg_info_get_ownership_transfer.page |   12 +++++
 .../GIRepository.arg_info_get_scope.page           |   14 ++++++
 .../GIRepository.arg_info_get_type.page            |   11 +++++
 .../GIRepository.arg_info_is_caller_allocates.page |   14 ++++++
 .../GIRepository.arg_info_is_optional.page         |   11 +++++
 .../GIRepository.arg_info_is_return_value.page     |   12 +++++
 .../GIRepository.arg_info_is_skip.page             |   11 +++++
 .../GIRepository.arg_info_load_type.page           |   13 ++++++
 .../GIRepository.arg_info_may_be_null.page         |   11 +++++
 .../GIRepository.base_info_get_type.page           |   11 +++++
 .../GIRepository.callable_info_get_arg.page        |   11 +++++
 ...GIRepository.callable_info_get_caller_owns.page |   12 +++++
 .../GIRepository.callable_info_get_n_args.page     |   11 +++++
 ...ository.callable_info_get_return_attribute.page |   11 +++++
 ...GIRepository.callable_info_get_return_type.page |   11 +++++
 ...ry.callable_info_iterate_return_attributes.page |   15 +++++++
 .../GIRepository.callable_info_load_arg.page       |   13 ++++++
 ...IRepository.callable_info_load_return_type.page |   13 ++++++
 ...GIRepository.callable_info_may_return_null.page |   11 +++++
 .../GIRepository.callable_info_skip_return.page    |   11 +++++
 .../GIRepository.constant_info_get_type.page       |   11 +++++
 .../GIRepository.constant_info_get_value.page      |   13 ++++++
 .../GIRepository.enum_info_get_error_domain.page   |   11 +++++
 .../GIRepository.enum_info_get_n_values.page       |   11 +++++
 .../GIRepository.enum_info_get_storage_type.page   |   15 +++++++
 .../GIRepository.enum_info_get_value.page          |   11 +++++
 .../GIRepository.field_info_get_field.page         |   14 ++++++
 .../GIRepository.field_info_get_flags.page         |   12 +++++
 .../GIRepository.field_info_get_offset.page        |   12 +++++
 .../GIRepository.field_info_get_size.page          |   12 +++++
 .../GIRepository.field_info_get_type.page          |   11 +++++
 .../GIRepository.field_info_set_field.page         |   16 +++++++
 .../GIRepository.function_info_get_flags.page      |   11 +++++
 .../GIRepository.function_info_get_property.page   |   14 ++++++
 .../GIRepository.function_info_get_symbol.page     |   13 ++++++
 .../GIRepository.function_info_get_vfunc.page      |   13 ++++++
 .../GIRepository.function_info_invoke.page         |   16 +++++++
 .../GIRepository.info_new.page                     |   11 +++++
 .../GIRepository.info_type_to_string.page          |   11 +++++
 .../GIRepository.interface_info_find_method.page   |   12 +++++
 .../GIRepository.interface_info_find_vfunc.page    |   12 +++++
 .../GIRepository.interface_info_get_constant.page  |   11 +++++
 ...Repository.interface_info_get_iface_struct.page |   11 +++++
 .../GIRepository.interface_info_get_method.page    |   11 +++++
 ...IRepository.interface_info_get_n_constants.page |   11 +++++
 .../GIRepository.interface_info_get_n_methods.page |   11 +++++
 ...ository.interface_info_get_n_prerequisites.page |   13 ++++++
 ...Repository.interface_info_get_n_properties.page |   11 +++++
 .../GIRepository.interface_info_get_n_signals.page |   11 +++++
 .../GIRepository.interface_info_get_n_vfuncs.page  |   11 +++++
 ...Repository.interface_info_get_prerequisite.page |   11 +++++
 .../GIRepository.interface_info_get_property.page  |   11 +++++
 .../GIRepository.interface_info_get_signal.page    |   11 +++++
 .../GIRepository.interface_info_get_vfunc.page     |   11 +++++
 .../GIRepository.invoke_error_quark.page           |   11 +++++
 .../GIRepository.nvokeError.page                   |   11 +++++
 .../GIRepository.object_info_find_method.page      |   12 +++++
 ...y.object_info_find_method_using_interfaces.page |   14 ++++++
 .../GIRepository.object_info_find_signal.page      |   11 +++++
 .../GIRepository.object_info_find_vfunc.page       |   17 ++++++++
 .../GIRepository.object_info_get_abstract.page     |   12 +++++
 .../GIRepository.object_info_get_class_struct.page |   12 +++++
 .../GIRepository.object_info_get_constant.page     |   11 +++++
 .../GIRepository.object_info_get_field.page        |   11 +++++
 .../GIRepository.object_info_get_fundamental.page  |   12 +++++
 ...ository.object_info_get_get_value_function.page |   15 +++++++
 ...object_info_get_get_value_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_interface.page    |   11 +++++
 .../GIRepository.object_info_get_method.page       |   11 +++++
 .../GIRepository.object_info_get_n_constants.page  |   11 +++++
 .../GIRepository.object_info_get_n_fields.page     |   11 +++++
 .../GIRepository.object_info_get_n_interfaces.page |   11 +++++
 .../GIRepository.object_info_get_n_methods.page    |   11 +++++
 .../GIRepository.object_info_get_n_properties.page |   11 +++++
 .../GIRepository.object_info_get_n_signals.page    |   11 +++++
 .../GIRepository.object_info_get_n_vfuncs.page     |   11 +++++
 .../GIRepository.object_info_get_parent.page       |   11 +++++
 .../GIRepository.object_info_get_property.page     |   11 +++++
 .../GIRepository.object_info_get_ref_function.page |   14 ++++++
 ...itory.object_info_get_ref_function_pointer.page |   14 ++++++
 ...ository.object_info_get_set_value_function.page |   15 +++++++
 ...object_info_get_set_value_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_signal.page       |   11 +++++
 .../GIRepository.object_info_get_type_init.page    |   12 +++++
 .../GIRepository.object_info_get_type_name.page    |   11 +++++
 ...IRepository.object_info_get_unref_function.page |   14 ++++++
 ...ory.object_info_get_unref_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_vfunc.page        |   11 +++++
 .../GIRepository.property_info_get_flags.page      |   12 +++++
 ...itory.property_info_get_ownership_transfer.page |   12 +++++
 .../GIRepository.property_info_get_type.page       |   11 +++++
 ...Repository.registered_type_info_get_g_type.page |   14 ++++++
 ...ository.registered_type_info_get_type_init.page |   14 ++++++
 ...ository.registered_type_info_get_type_name.page |   12 +++++
 ...GIRepository.signal_info_get_class_closure.page |   13 ++++++
 .../GIRepository.signal_info_get_flags.page        |   12 +++++
 .../GIRepository.signal_info_true_stops_emit.page  |   12 +++++
 .../GIRepository.struct_info_find_method.page      |   11 +++++
 .../GIRepository.struct_info_get_alignment.page    |   11 +++++
 .../GIRepository.struct_info_get_field.page        |   11 +++++
 .../GIRepository.struct_info_get_method.page       |   11 +++++
 .../GIRepository.struct_info_get_n_fields.page     |   11 +++++
 .../GIRepository.struct_info_get_n_methods.page    |   11 +++++
 .../GIRepository.struct_info_get_size.page         |   11 +++++
 .../GIRepository.struct_info_is_foreign.page       |   11 +++++
 .../GIRepository.struct_info_is_gtype_struct.page  |   13 ++++++
 ...IRepository.type_info_get_array_fixed_size.page |   12 +++++
 .../GIRepository.type_info_get_array_length.page   |   12 +++++
 .../GIRepository.type_info_get_array_type.page     |   13 ++++++
 .../GIRepository.type_info_get_interface.page      |   14 ++++++
 .../GIRepository.type_info_get_param_type.page     |   11 +++++
 .../GIRepository.type_info_get_tag.page            |   12 +++++
 .../GIRepository.type_info_is_pointer.page         |   11 +++++
 .../GIRepository.type_info_is_zero_terminated.page |   12 +++++
 .../GIRepository.type_tag_to_string.page           |   11 +++++
 .../GIRepository.union_info_find_method.page       |   11 +++++
 .../GIRepository.union_info_get_alignment.page     |   11 +++++
 .../GIRepository.union_info_get_discriminator.page |   13 ++++++
 ...sitory.union_info_get_discriminator_offset.page |   11 +++++
 ...pository.union_info_get_discriminator_type.page |   11 +++++
 .../GIRepository.union_info_get_field.page         |   11 +++++
 .../GIRepository.union_info_get_method.page        |   11 +++++
 .../GIRepository.union_info_get_n_fields.page      |   11 +++++
 .../GIRepository.union_info_get_n_methods.page     |   11 +++++
 .../GIRepository.union_info_get_size.page          |   11 +++++
 .../GIRepository.union_info_is_discriminated.page  |   11 +++++
 .../GIRepository.value_info_get_value.page         |   12 +++++
 .../GIRepository.vfunc_info_get_address.page       |   12 +++++
 .../GIRepository.vfunc_info_get_flags.page         |   12 +++++
 .../GIRepository.vfunc_info_get_invoker.page       |   12 +++++
 .../GIRepository.vfunc_info_get_offset.page        |   12 +++++
 .../GIRepository.vfunc_info_get_signal.page        |   13 ++++++
 .../GIRepository.vfunc_info_invoke.page            |   13 ++++++
 .../index.page}                                    |    0
 .../GIRepository.ArgInfo.page                      |   10 +++++
 .../GIRepository.ArrayType.page                    |   10 +++++
 .../GIRepository.AttributeIter.page                |   12 +++++
 .../GIRepository.BaseInfo.equal.page               |   13 ++++++
 .../GIRepository.BaseInfo.get_attribute.page       |   11 +++++
 .../GIRepository.BaseInfo.get_container.page       |   13 ++++++
 .../GIRepository.BaseInfo.get_name.page            |   13 ++++++
 .../GIRepository.BaseInfo.get_namespace.page       |   11 +++++
 .../GIRepository.BaseInfo.get_typelib.page         |   11 +++++
 .../GIRepository.BaseInfo.is_deprecated.page       |   12 +++++
 .../GIRepository.BaseInfo.iterate_attributes.page  |   29 +++++++++++++
 .../GIRepository.BaseInfo.page                     |   43 ++++++++++++++++++++
 .../GIRepository.BaseInfo.ref.page                 |   11 +++++
 .../GIRepository.BaseInfo.unref.page               |   12 +++++
 .../GIRepository.CallableInfo.page                 |   11 +++++
 .../GIRepository.CallbackInfo.page                 |   10 +++++
 .../GIRepository.ConstantInfo.page                 |   10 +++++
 .../GIRepository.Direction.page                    |   10 +++++
 .../GIRepository.EnumInfo.page                     |   10 +++++
 .../GIRepository.FieldInfo.page                    |   10 +++++
 .../GIRepository.FieldInfoFlags.page               |   10 +++++
 .../GIRepository.FunctionInfo.page                 |   10 +++++
 .../GIRepository.FunctionInfoFlags.page            |   10 +++++
 .../GIRepository.InfoType.page                     |   10 +++++
 .../GIRepository.InterfaceInfo.page                |   10 +++++
 .../GIRepository.ObjectInfo.page                   |   10 +++++
 .../GIRepository.ObjectInfoGetValueFunction.page   |   10 +++++
 .../GIRepository.ObjectInfoRefFunction.page        |   10 +++++
 .../GIRepository.ObjectInfoSetValueFunction.page   |   10 +++++
 .../GIRepository.ObjectInfoUnrefFunction.page      |   10 +++++
 .../GIRepository.PropertyInfo.page                 |   10 +++++
 .../GIRepository.RegisteredTypeInfo.page           |   10 +++++
 ...GIRepository.Repository.enumerate_versions.page |   12 +++++
 ...Repository.Repository.find_by_error_domain.page |   14 ++++++
 .../GIRepository.Repository.find_by_gtype.page     |   16 +++++++
 .../GIRepository.Repository.find_by_name.page      |   14 ++++++
 .../GIRepository.Repository.get_c_prefix.page      |   14 ++++++
 .../GIRepository.Repository.get_dependencies.page  |   14 ++++++
 .../GIRepository.Repository.get_info.page          |   15 +++++++
 ...epository.Repository.get_loaded_namespaces.page |   11 +++++
 .../GIRepository.Repository.get_n_infos.page       |   13 ++++++
 ...GIRepository.Repository.get_shared_library.page |   15 +++++++
 .../GIRepository.Repository.get_typelib_path.page  |   14 ++++++
 .../GIRepository.Repository.get_version.page       |   13 ++++++
 .../GIRepository.Repository.is_registered.page     |   16 +++++++
 .../GIRepository.Repository.load_typelib.page      |   11 +++++
 .../GIRepository.Repository.page                   |   34 +++++++++++++++
 .../GIRepository.Repository.require.page           |   15 +++++++
 .../GIRepository.Repository.require_private.page   |   15 +++++++
 .../GIRepository.RepositoryClass.page              |   11 +++++
 .../GIRepository.RepositoryError.page              |   10 +++++
 .../GIRepository.RepositoryLoadFlags.page          |   11 +++++
 .../GIRepository.RepositoryPrivate.page            |   11 +++++
 .../GIRepository.ScopeType.page                    |   12 +++++
 .../GIRepository.SignalInfo.page                   |   10 +++++
 .../GIRepository.StructInfo.page                   |   10 +++++
 .../GIRepository.Transfer.page                     |   19 +++++++++
 .../GIRepository.TypeInfo.page                     |   10 +++++
 .../GIRepository.TypeTag.page                      |   10 +++++
 .../GIRepository.Typelib.free.page                 |   11 +++++
 .../GIRepository.Typelib.get_namespace.page        |   11 +++++
 .../GIRepository.Typelib.page                      |   11 +++++
 .../GIRepository.Typelib.symbol.page               |   11 +++++
 .../GIRepository.UnionInfo.page                    |   10 +++++
 .../GIRepository.UnresolvedInfo.page               |   11 +++++
 .../GIRepository.VFuncInfo.page                    |   10 +++++
 .../GIRepository.VFuncInfoFlags.page               |   10 +++++
 .../GIRepository.ValueInfo.page                    |   10 +++++
 .../GIRepository._Argument.page                    |   10 +++++
 .../GIRepository._BaseInfoStub.page                |   11 +++++
 .../GIRepository.arg_info_get_closure.page         |   12 +++++
 .../GIRepository.arg_info_get_destroy.page         |   12 +++++
 .../GIRepository.arg_info_get_direction.page       |   12 +++++
 ...Repository.arg_info_get_ownership_transfer.page |   12 +++++
 .../GIRepository.arg_info_get_scope.page           |   14 ++++++
 .../GIRepository.arg_info_get_type.page            |   11 +++++
 .../GIRepository.arg_info_is_caller_allocates.page |   14 ++++++
 .../GIRepository.arg_info_is_optional.page         |   11 +++++
 .../GIRepository.arg_info_is_return_value.page     |   12 +++++
 .../GIRepository.arg_info_is_skip.page             |   11 +++++
 .../GIRepository.arg_info_load_type.page           |   13 ++++++
 .../GIRepository.arg_info_may_be_null.page         |   11 +++++
 .../GIRepository.base_info_get_type.page           |   11 +++++
 .../GIRepository.callable_info_get_arg.page        |   11 +++++
 ...GIRepository.callable_info_get_caller_owns.page |   12 +++++
 .../GIRepository.callable_info_get_n_args.page     |   11 +++++
 ...ository.callable_info_get_return_attribute.page |   11 +++++
 ...GIRepository.callable_info_get_return_type.page |   11 +++++
 ...ry.callable_info_iterate_return_attributes.page |   15 +++++++
 .../GIRepository.callable_info_load_arg.page       |   13 ++++++
 ...IRepository.callable_info_load_return_type.page |   13 ++++++
 ...GIRepository.callable_info_may_return_null.page |   11 +++++
 .../GIRepository.callable_info_skip_return.page    |   11 +++++
 .../GIRepository.constant_info_get_type.page       |   11 +++++
 .../GIRepository.constant_info_get_value.page      |   13 ++++++
 .../GIRepository.enum_info_get_error_domain.page   |   11 +++++
 .../GIRepository.enum_info_get_n_values.page       |   11 +++++
 .../GIRepository.enum_info_get_storage_type.page   |   15 +++++++
 .../GIRepository.enum_info_get_value.page          |   11 +++++
 .../GIRepository.field_info_get_field.page         |   14 ++++++
 .../GIRepository.field_info_get_flags.page         |   12 +++++
 .../GIRepository.field_info_get_offset.page        |   12 +++++
 .../GIRepository.field_info_get_size.page          |   12 +++++
 .../GIRepository.field_info_get_type.page          |   11 +++++
 .../GIRepository.field_info_set_field.page         |   16 +++++++
 .../GIRepository.function_info_get_flags.page      |   11 +++++
 .../GIRepository.function_info_get_property.page   |   14 ++++++
 .../GIRepository.function_info_get_symbol.page     |   13 ++++++
 .../GIRepository.function_info_get_vfunc.page      |   13 ++++++
 .../GIRepository.function_info_invoke.page         |   16 +++++++
 .../GIRepository.info_new.page                     |   11 +++++
 .../GIRepository.info_type_to_string.page          |   11 +++++
 .../GIRepository.interface_info_find_method.page   |   12 +++++
 .../GIRepository.interface_info_find_vfunc.page    |   12 +++++
 .../GIRepository.interface_info_get_constant.page  |   11 +++++
 ...Repository.interface_info_get_iface_struct.page |   11 +++++
 .../GIRepository.interface_info_get_method.page    |   11 +++++
 ...IRepository.interface_info_get_n_constants.page |   11 +++++
 .../GIRepository.interface_info_get_n_methods.page |   11 +++++
 ...ository.interface_info_get_n_prerequisites.page |   13 ++++++
 ...Repository.interface_info_get_n_properties.page |   11 +++++
 .../GIRepository.interface_info_get_n_signals.page |   11 +++++
 .../GIRepository.interface_info_get_n_vfuncs.page  |   11 +++++
 ...Repository.interface_info_get_prerequisite.page |   11 +++++
 .../GIRepository.interface_info_get_property.page  |   11 +++++
 .../GIRepository.interface_info_get_signal.page    |   11 +++++
 .../GIRepository.interface_info_get_vfunc.page     |   11 +++++
 .../GIRepository.invoke_error_quark.page           |   11 +++++
 .../GIRepository.nvokeError.page                   |   11 +++++
 .../GIRepository.object_info_find_method.page      |   12 +++++
 ...y.object_info_find_method_using_interfaces.page |   14 ++++++
 .../GIRepository.object_info_find_signal.page      |   11 +++++
 .../GIRepository.object_info_find_vfunc.page       |   17 ++++++++
 .../GIRepository.object_info_get_abstract.page     |   12 +++++
 .../GIRepository.object_info_get_class_struct.page |   12 +++++
 .../GIRepository.object_info_get_constant.page     |   11 +++++
 .../GIRepository.object_info_get_field.page        |   11 +++++
 .../GIRepository.object_info_get_fundamental.page  |   12 +++++
 ...ository.object_info_get_get_value_function.page |   15 +++++++
 ...object_info_get_get_value_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_interface.page    |   11 +++++
 .../GIRepository.object_info_get_method.page       |   11 +++++
 .../GIRepository.object_info_get_n_constants.page  |   11 +++++
 .../GIRepository.object_info_get_n_fields.page     |   11 +++++
 .../GIRepository.object_info_get_n_interfaces.page |   11 +++++
 .../GIRepository.object_info_get_n_methods.page    |   11 +++++
 .../GIRepository.object_info_get_n_properties.page |   11 +++++
 .../GIRepository.object_info_get_n_signals.page    |   11 +++++
 .../GIRepository.object_info_get_n_vfuncs.page     |   11 +++++
 .../GIRepository.object_info_get_parent.page       |   11 +++++
 .../GIRepository.object_info_get_property.page     |   11 +++++
 .../GIRepository.object_info_get_ref_function.page |   14 ++++++
 ...itory.object_info_get_ref_function_pointer.page |   14 ++++++
 ...ository.object_info_get_set_value_function.page |   15 +++++++
 ...object_info_get_set_value_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_signal.page       |   11 +++++
 .../GIRepository.object_info_get_type_init.page    |   12 +++++
 .../GIRepository.object_info_get_type_name.page    |   11 +++++
 ...IRepository.object_info_get_unref_function.page |   14 ++++++
 ...ory.object_info_get_unref_function_pointer.page |   14 ++++++
 .../GIRepository.object_info_get_vfunc.page        |   11 +++++
 .../GIRepository.property_info_get_flags.page      |   12 +++++
 ...itory.property_info_get_ownership_transfer.page |   12 +++++
 .../GIRepository.property_info_get_type.page       |   11 +++++
 ...Repository.registered_type_info_get_g_type.page |   14 ++++++
 ...ository.registered_type_info_get_type_init.page |   14 ++++++
 ...ository.registered_type_info_get_type_name.page |   12 +++++
 ...GIRepository.signal_info_get_class_closure.page |   13 ++++++
 .../GIRepository.signal_info_get_flags.page        |   12 +++++
 .../GIRepository.signal_info_true_stops_emit.page  |   12 +++++
 .../GIRepository.struct_info_find_method.page      |   11 +++++
 .../GIRepository.struct_info_get_alignment.page    |   11 +++++
 .../GIRepository.struct_info_get_field.page        |   11 +++++
 .../GIRepository.struct_info_get_method.page       |   11 +++++
 .../GIRepository.struct_info_get_n_fields.page     |   11 +++++
 .../GIRepository.struct_info_get_n_methods.page    |   11 +++++
 .../GIRepository.struct_info_get_size.page         |   11 +++++
 .../GIRepository.struct_info_is_foreign.page       |   11 +++++
 .../GIRepository.struct_info_is_gtype_struct.page  |   13 ++++++
 ...IRepository.type_info_get_array_fixed_size.page |   12 +++++
 .../GIRepository.type_info_get_array_length.page   |   12 +++++
 .../GIRepository.type_info_get_array_type.page     |   13 ++++++
 .../GIRepository.type_info_get_interface.page      |   14 ++++++
 .../GIRepository.type_info_get_param_type.page     |   11 +++++
 .../GIRepository.type_info_get_tag.page            |   12 +++++
 .../GIRepository.type_info_is_pointer.page         |   11 +++++
 .../GIRepository.type_info_is_zero_terminated.page |   12 +++++
 .../GIRepository.type_tag_to_string.page           |   11 +++++
 .../GIRepository.union_info_find_method.page       |   11 +++++
 .../GIRepository.union_info_get_alignment.page     |   11 +++++
 .../GIRepository.union_info_get_discriminator.page |   13 ++++++
 ...sitory.union_info_get_discriminator_offset.page |   11 +++++
 ...pository.union_info_get_discriminator_type.page |   11 +++++
 .../GIRepository.union_info_get_field.page         |   11 +++++
 .../GIRepository.union_info_get_method.page        |   11 +++++
 .../GIRepository.union_info_get_n_fields.page      |   11 +++++
 .../GIRepository.union_info_get_n_methods.page     |   11 +++++
 .../GIRepository.union_info_get_size.page          |   11 +++++
 .../GIRepository.union_info_is_discriminated.page  |   11 +++++
 .../GIRepository.value_info_get_value.page         |   12 +++++
 .../GIRepository.vfunc_info_get_address.page       |   12 +++++
 .../GIRepository.vfunc_info_get_flags.page         |   12 +++++
 .../GIRepository.vfunc_info_get_invoker.page       |   12 +++++
 .../GIRepository.vfunc_info_get_offset.page        |   12 +++++
 .../GIRepository.vfunc_info_get_signal.page        |   13 ++++++
 .../GIRepository.vfunc_info_invoke.page            |   13 ++++++
 .../index.page}                                    |    0
 tests/doctool/Makefile.am                          |   30 +++++++-------
 415 files changed, 5023 insertions(+), 15 deletions(-)
---
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArgInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArgInfo.page
new file mode 100644
index 0000000..87893a9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArgInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ArgInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryArgInfo</title>
+<p>Represents an argument.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArrayType.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArrayType.page
new file mode 100644
index 0000000..bb0afd4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ArrayType.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ArrayType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryArrayType</title>
+<p>The type of array in a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.AttributeIter.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.AttributeIter.page
new file mode 100644
index 0000000..bcd5f4b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.AttributeIter.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.AttributeIter"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryAttributeIter</title>
+<p>An opaque structure used to iterate over attributes
+in a <link xref="GIBaseInfo">GIBaseInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.equal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.equal.page
new file mode 100644
index 0000000..c0aa7e8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.equal.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.equal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_equal</title>
+<p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
+different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the
+TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_attribute.page
new file mode 100644
index 0000000..4a98a95
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_attribute.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_attribute"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_get_attribute</title>
+<p>Retrieve an arbitrary attribute associated with this node.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page
new file mode 100644
index 0000000..71a8d55
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_container"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_get_container</title>
+<p>Obtain the container of the @info. The container is the parent
+GIBaseInfo. For instance, the parent of a <link xref="GIFunctionInfo">GIFunctionInfo</link> is an
+<link xref="GIObjectInfo">GIObjectInfo</link> or <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_name.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_name.page
new file mode 100644
index 0000000..d4c1286
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_name.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_get_name</title>
+<p>Obtain the name of the @info. What the name represents depends on
+the <link xref="GIInfoType">GIInfoType</link> of the @info. For instance for <link xref="GIFunctionInfo">GIFunctionInfo</link> it is
+the name of the function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_namespace.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_namespace.page
new file mode 100644
index 0000000..1cdeb07
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_namespace.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_namespace"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_get_namespace</title>
+<p>Obtain the namespace of @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page
new file mode 100644
index 0000000..e9ada1f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_typelib"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_get_typelib</title>
+<p>Obtain the typelib this @info belongs to</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page
new file mode 100644
index 0000000..c8206c4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.is_deprecated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_is_deprecated</title>
+<p>Obtain whether the @info is represents a metadata which is
+deprecated or not.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.iterate_attributes.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.iterate_attributes.page
new file mode 100644
index 0000000..82ef15f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.iterate_attributes.page
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.iterate_attributes"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_iterate_attributes</title>
+<p>Iterate over all attributes associated with this node.  The iterator
+structure is typically stack allocated, and must have its first
+member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+and must not be freed.</p><p>&lt;example&gt;
+&lt;title&gt;Iterating over attributes&lt;/title&gt;
+&lt;programlisting&gt;
+void
+print_attributes (GIBaseInfo *info)
+{
+GIAttributeIter iter = { 0, };
+char *name;
+char *value;
+while (g_base_info_iterate_attributes (info, &amp;iter, &amp;name, &amp;value))
+{
+g_print ("attribute name: %s value: %s", name, value);
+}
+}
+&lt;/programlisting&gt;
+&lt;/example&gt;</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page
new file mode 100644
index 0000000..1e29c30
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.page
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryBaseInfo</title>
+<p>GIBaseInfo is the common base struct of all other *Info structs
+accessible through the <link xref="GIRepository">GIRepository</link> API.
+All other structs can be casted to a <link xref="GIBaseInfo">GIBaseInfo</link>, for instance:
+&lt;example&gt;
+&lt;title&gt;Casting a <link xref="GIFunctionInfo">GIFunctionInfo</link> to <link xref="GIBaseInfo">GIBaseInfo</link>&lt;/title&gt;
+&lt;programlisting&gt;
+GIFunctionInfo *function_info = ...;
+GIBaseInfo *info = (GIBaseInfo*)function_info;
+&lt;/programlisting&gt;
+&lt;/example&gt;
+Most <link xref="GIRepository">GIRepository</link> APIs returning a <link xref="GIBaseInfo">GIBaseInfo</link> is actually creating a new struct, in other
+words, g_base_info_unref() has to be called when done accessing the data.
+GIBaseInfos are normally accessed by calling either
+g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().</p><p>&lt;example&gt;
+&lt;title&gt;Getting the Button of the Gtk typelib&lt;/title&gt;
+&lt;programlisting&gt;
+GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button");
+... use button_info ...
+g_base_info_unref(button_info);
+&lt;/programlisting&gt;
+&lt;/example&gt;</p><p>&lt;refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"&gt;
+&lt;title role="struct_hierarchy.title"&gt;Struct hierarchy&lt;/title&gt;
+&lt;synopsis&gt;
+GIBaseInfo
++----&lt;link linkend="gi-GIArgInfo"&gt;GIArgInfo&lt;/link&gt;
++----&lt;link linkend="gi-GICallableInfo"&gt;GICallableInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIConstantInfo"&gt;GIConstantInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIFieldInfo"&gt;GIFieldInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIPropertyInfo"&gt;GIPropertyInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIRegisteredTypeInfo"&gt;GIRegisteredTypeInfo&lt;/link&gt;
++----&lt;link linkend="gi-GITypeInfo"&gt;GITypeInfo&lt;/link&gt;
+&lt;/synopsis&gt;
+&lt;/refsect1&gt;</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.ref.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.ref.page
new file mode 100644
index 0000000..b25dabb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.ref.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.ref"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_ref</title>
+<p>Increases the reference count of @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page
new file mode 100644
index 0000000..9402169
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.unref"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>g_base_info_unref</title>
+<p>Decreases the reference count of @info. When its reference count
+drops to 0, the info is freed.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallableInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallableInfo.page
new file mode 100644
index 0000000..5f1b597
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallableInfo.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.CallableInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryCallableInfo</title>
+<p>Represents a callable, either <link xref="GIFunctionInfo">GIFunctionInfo</link>, <link xref="GICallbackInfo">GICallbackInfo</link> or
+<link xref="GIVFuncInfo">GIVFuncInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page
new file mode 100644
index 0000000..f04546f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.CallbackInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryCallbackInfo</title>
+<p>Represents a callback, eg arguments and return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page
new file mode 100644
index 0000000..af0ea67
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ConstantInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryConstantInfo</title>
+<p>Represents a constant.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page
new file mode 100644
index 0000000..b4eb5f3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Direction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryDirection</title>
+<p>The direction of a <link xref="GIArgInfo">GIArgInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page
new file mode 100644
index 0000000..73da91d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.EnumInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryEnumInfo</title>
+<p>Represents an enum or a flag.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page
new file mode 100644
index 0000000..d9a813d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FieldInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryFieldInfo</title>
+<p>Represents a field of a <link xref="GIStructInfo">GIStructInfo</link> or a <link xref="GIUnionInfo">GIUnionInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page
new file mode 100644
index 0000000..28166d7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FieldInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryFieldInfoFlags</title>
+<p>Flags for a <link xref="GIFieldInfo">GIFieldInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page
new file mode 100644
index 0000000..8d45f6e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FunctionInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryFunctionInfo</title>
+<p>Represents a function, eg arguments and return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page
new file mode 100644
index 0000000..b19947d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FunctionInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryFunctionInfoFlags</title>
+<p>Flags for a <link xref="GIFunctionInfo">GIFunctionInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page
new file mode 100644
index 0000000..d37bac0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.InfoType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryInfoType</title>
+<p>The type of a GIBaseInfo struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page
new file mode 100644
index 0000000..3623797
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.InterfaceInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryInterfaceInfo</title>
+<p>Represents an interface.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page
new file mode 100644
index 0000000..0942832
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryObjectInfo</title>
+<p>Represents an object.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page
new file mode 100644
index 0000000..61c9ea8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoGetValueFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryObjectInfoGetValueFunction</title>
+<p>Extract an object instance out of @value</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page
new file mode 100644
index 0000000..1fd5557
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoRefFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryObjectInfoRefFunction</title>
+<p>Increases the reference count of an object instance.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page
new file mode 100644
index 0000000..4ad842f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoSetValueFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryObjectInfoSetValueFunction</title>
+<p>Update @value and attach the object instance pointer @object to it.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page
new file mode 100644
index 0000000..d52002b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoUnrefFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryObjectInfoUnrefFunction</title>
+<p>Decreases the reference count of an object instance.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page
new file mode 100644
index 0000000..d24aea5
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.PropertyInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryPropertyInfo</title>
+<p>Represents a property of a <link xref="GIObjectInfo">GIObjectInfo</link> or a <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page
new file mode 100644
index 0000000..14de032
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RegisteredTypeInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryRegisteredTypeInfo</title>
+<p>Represent a registered type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.enumerate_versions.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.enumerate_versions.page
new file mode 100644
index 0000000..c54c217
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.enumerate_versions.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.enumerate_versions"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_enumerate_versions</title>
+<p>Obtain an unordered list of versions (either currently loaded or
+available) for @namespace_ in this @repository.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_error_domain.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_error_domain.page
new file mode 100644
index 0000000..d2e4082
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_error_domain.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_error_domain"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_find_by_error_domain</title>
+<p>Searches for the enum type corresponding to the given <link xref="GError">GError</link>
+domain. Before calling this function for a particular namespace,
+you must call g_irepository_require() once to load the namespace, or
+otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page
new file mode 100644
index 0000000..2677503
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_gtype"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_find_by_gtype</title>
+<p>Searches all loaded namespaces for a particular <link xref="GType">GType</link>.  Note that
+in order to locate the metadata, the namespace corresponding to
+the type must first have been loaded.  There is currently no
+mechanism for determining the namespace which corresponds to an
+arbitrary GType - thus, this function will operate most reliably
+when you know the GType to originate from be from a loaded namespace.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_name.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_name.page
new file mode 100644
index 0000000..7eada69
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_name.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_name"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_find_by_name</title>
+<p>Searches for a particular entry in a namespace.  Before calling
+this function for a particular namespace, you must call
+g_irepository_require() once to load the namespace, or otherwise
+ensure the namespace has already been loaded.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_c_prefix.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_c_prefix.page
new file mode 100644
index 0000000..e23faa9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_c_prefix.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_c_prefix"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_c_prefix</title>
+<p>This function returns the "C prefix", or the C level namespace
+associated with the given introspection namespace.  Each C symbol
+starts with this prefix, as well each <link xref="GType">GType</link> in the library.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page
new file mode 100644
index 0000000..f88f13c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_dependencies.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_dependencies"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_dependencies</title>
+<p>Return an array of all (transitive) dependencies for namespace
+ namespace_, including version.  The returned strings are of the
+form &lt;code&gt;namespace-version&lt;/code&gt;.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_info.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_info.page
new file mode 100644
index 0000000..fbfb4ed
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_info.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_info"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_info</title>
+<p>This function returns a particular metadata entry in the
+given namespace @namespace_.  The namespace must have
+already been loaded before calling this function.
+See g_irepository_get_n_infos() to find the maximum number of
+entries.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page
new file mode 100644
index 0000000..c206e89
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_loaded_namespaces.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_loaded_namespaces"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_loaded_namespaces</title>
+<p>Return the list of currently loaded namespaces.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page
new file mode 100644
index 0000000..dc1f6a4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_n_infos"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_n_infos</title>
+<p>This function returns the number of metadata entries in
+given namespace @namespace_.  The namespace must have
+already been loaded before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_shared_library.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_shared_library.page
new file mode 100644
index 0000000..4ae1a36
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_shared_library.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_shared_library"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_shared_library</title>
+<p>This function returns the full path to the shared C library
+associated with the given namespace @namespace_. There may be no
+shared library path associated, in which case this function will
+return %NULL.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_typelib_path.page
new file mode 100644
index 0000000..ad702fe
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_typelib_path.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_typelib_path"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_typelib_path</title>
+<p>If namespace @namespace_ is loaded, return the full path to the
+.typelib file it was loaded from.  If the typelib for
+namespace @namespace_ was included in a shared library, return
+the special string "$lt;builtin$gt;".</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_version.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_version.page
new file mode 100644
index 0000000..860bc08
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_version.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_version"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_get_version</title>
+<p>This function returns the loaded version associated with the given
+namespace @namespace_.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.is_registered.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.is_registered.page
new file mode 100644
index 0000000..95f2b4d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.is_registered.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.is_registered"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_is_registered</title>
+<p>Check whether a particular namespace (and optionally, a specific
+version thereof) is currently loaded.  This function is likely to
+only be useful in unusual circumstances; in order to act upon
+metadata in the namespace, you should call g_irepository_require()
+instead which will ensure the namespace is loaded, and return as
+quickly as this function will if it has already been loaded.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.load_typelib.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.load_typelib.page
new file mode 100644
index 0000000..d5bdf26
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.load_typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.load_typelib"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_load_typelib</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page
new file mode 100644
index 0000000..24e0f0b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.page
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository"
+      type="guide"
+      style="class"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="class"/>
+  </info>
+  <title>GIRepositoryRepository</title>
+  <synopsis ui:expanded="no">
+    <title>Hierarchy</title>
+    <tree>
+      <item>
+        <code>GObjectObject</code>
+      </item>
+    </tree>
+  </synopsis>
+  <links type="topic" ui:expanded="yes" groups="constructor">
+    <title>Constructors</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="method">
+    <title>Methods</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="property">
+    <title>Properties</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="signal">
+    <title>Signals</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="#first #default #last">
+    <title>Other</title>
+  </links>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require.page
new file mode 100644
index 0000000..4eea3fa
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.require"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_require</title>
+<p>Force the namespace @namespace_ to be loaded if it isn't already.
+If @namespace_ is not loaded, this function will search for a
+".typelib" file using the repository search path.  In addition, a
+version @version of namespace may be specified.  If @version is
+not specified, the latest will be used.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require_private.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require_private.page
new file mode 100644
index 0000000..3b18a06
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.require_private.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.require_private"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>g_irepository_require_private</title>
+<p>Force the namespace @namespace_ to be loaded if it isn't already.
+If @namespace_ is not loaded, this function will search for a
+".typelib" file within the private directory only. In addition, a
+version @version of namespace should be specified.  If @version is
+not specified, the latest will be used.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryClass.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryClass.page
new file mode 100644
index 0000000..4170b9e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryClass.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryClass"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryRepositoryClass</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryError.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryError.page
new file mode 100644
index 0000000..8c5880c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryError.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryError"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryRepositoryError</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryLoadFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryLoadFlags.page
new file mode 100644
index 0000000..a1a838e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryLoadFlags.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryLoadFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryRepositoryLoadFlags</title>
+<p>Flags that controlls how a typelib is loaded by
+GIRepositry, used by g_irepository_load_typelib().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page
new file mode 100644
index 0000000..2d159d7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryPrivate"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryRepositoryPrivate</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ScopeType.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ScopeType.page
new file mode 100644
index 0000000..14b21a7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ScopeType.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ScopeType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryScopeType</title>
+<p>Scope type of a <link xref="GIArgInfo">GIArgInfo</link> representing callback, determines how the
+callback is invoked and is used to decided when the invoke structs
+can be freed.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page
new file mode 100644
index 0000000..1b90524
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.SignalInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositorySignalInfo</title>
+<p>Represents a signal.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page
new file mode 100644
index 0000000..8cc7382
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.StructInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryStructInfo</title>
+<p>Represents a struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page
new file mode 100644
index 0000000..0aa94ec
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Transfer"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryTransfer</title>
+<p>The transfer is the exchange of data between two parts, from the callee to
+the caller. The callee is either a function/method/signal or an
+object/interface where a property is defined. The caller is the side
+accessing a property or calling a function.
+<link xref="GITransfer">GITransfer</link> specifies who's responsible for freeing the resources after the
+ownership transfer is complete. In case of a containing type such as a list,
+an array or a hash table the container itself is specified differently from
+the items within the container itself. Each container is freed differently,
+check the documentation for the types themselves for information on how to
+free them.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page
new file mode 100644
index 0000000..946b898
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.TypeInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryTypeInfo</title>
+<p>Represents type information, direction, transfer etc.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page
new file mode 100644
index 0000000..c7f4f0e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.TypeTag"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryTypeTag</title>
+<p>The type tag of a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page
new file mode 100644
index 0000000..87b8f0e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.free"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>g_typelib_free</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.get_namespace.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.get_namespace.page
new file mode 100644
index 0000000..5eeca51
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.get_namespace.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.get_namespace"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>g_typelib_get_namespace</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.page
new file mode 100644
index 0000000..4abc4f5
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryTypelib</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.symbol.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.symbol.page
new file mode 100644
index 0000000..eff8ed1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.symbol.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.symbol"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>g_typelib_symbol</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnionInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnionInfo.page
new file mode 100644
index 0000000..792f5c6
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnionInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.UnionInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryUnionInfo</title>
+<p>Represents a union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page
new file mode 100644
index 0000000..c0685b4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.UnresolvedInfo"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepositoryUnresolvedInfo</title>
+<p>Represents a unresolved type in a typelib.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfo.page
new file mode 100644
index 0000000..f500932
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.VFuncInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryVFuncInfo</title>
+<p>Represents a virtual function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page
new file mode 100644
index 0000000..44c8512
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.VFuncInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryVFuncInfoFlags</title>
+<p>Flags of a <link xref="GIVFuncInfo">GIVFuncInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page
new file mode 100644
index 0000000..5476168
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ValueInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositoryValueInfo</title>
+<p>Represents a enum value of a <link xref="GIEnumInfo">GIEnumInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page
new file mode 100644
index 0000000..ad4e308
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository._Argument"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository_Argument</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page
new file mode 100644
index 0000000..69fb24b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._BaseInfoStub.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository._BaseInfoStub"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository_BaseInfoStub</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_closure.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_closure.page
new file mode 100644
index 0000000..00102ce
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_closure.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_closure"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_closure</title>
+<p>Obtain the index of the user data argument. This is only valid
+for arguments which are callbacks.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_destroy.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_destroy.page
new file mode 100644
index 0000000..712afa9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_destroy.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_destroy"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_destroy</title>
+<p>Obtains the index of the <link xref="GDestroyNotify">GDestroyNotify</link> argument. This is only valid
+for arguments which are callbacks.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_direction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_direction.page
new file mode 100644
index 0000000..8fa3d81
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_direction.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_direction"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_direction</title>
+<p>Obtain the direction of the argument. Check <link xref="GIDirection">GIDirection</link> for possible
+direction values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_ownership_transfer.page
new file mode 100644
index 0000000..0b969ba
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_ownership_transfer.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_ownership_transfer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_ownership_transfer</title>
+<p>Obtain the ownership transfer for this argument.
+<link xref="GITransfer">GITransfer</link> contains a list of possible values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_scope.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_scope.page
new file mode 100644
index 0000000..3dece4c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_scope.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_scope"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_scope</title>
+<p>Obtain the scope type for this argument. The scope type explains
+how a callback is going to be invoked, most importantly when
+the resources required to invoke it can be freed.
+<link xref="GIScopeType">GIScopeType</link> contains a list of possible values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_type.page
new file mode 100644
index 0000000..e0096a9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_get_type</title>
+<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page
new file mode 100644
index 0000000..d1cdd43
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_caller_allocates"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_is_caller_allocates</title>
+<p>Obtain if the argument is a pointer to a struct or object that will
+receive an output of a function.  The default assumption for
+%GI_DIRECTION_OUT arguments which have allocation is that the
+callee allocates; if this is %TRUE, then the caller must allocate.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_optional.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_optional.page
new file mode 100644
index 0000000..bf5482c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_optional.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_optional"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_is_optional</title>
+<p>Obtain if the argument is optional.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page
new file mode 100644
index 0000000..a65a74f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_return_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_is_return_value</title>
+<p>Obtain if the argument is a return value. It can either be a
+parameter or a return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_skip.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_skip.page
new file mode 100644
index 0000000..04bf674
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_skip.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_skip"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_is_skip</title>
+<p>Obtain if an argument is only useful in C.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page
new file mode 100644
index 0000000..88a90d3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_load_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_load_type</title>
+<p>Obtain information about a the type of given argument @info; this
+function is a variant of g_arg_info_get_type() designed for stack
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page
new file mode 100644
index 0000000..549622c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_may_be_null"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_arg_info_may_be_null</title>
+<p>Obtain if the argument accepts %NULL.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page
new file mode 100644
index 0000000..214ed0e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.base_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_base_info_get_type</title>
+<p>Obtain the info type of the GIBaseInfo.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page
new file mode 100644
index 0000000..87bd969
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_arg"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_get_arg</title>
+<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page
new file mode 100644
index 0000000..3af152c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_caller_owns"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_get_caller_owns</title>
+<p>See whether the caller owns the return value of this callable.
+<link xref="GITransfer">GITransfer</link> contains a list of possible transfer values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_n_args.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_n_args.page
new file mode 100644
index 0000000..4d3ff47
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_n_args.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_n_args"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_get_n_args</title>
+<p>Obtain the number of arguments (both IN and OUT) for this callable.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page
new file mode 100644
index 0000000..9413f4b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_return_attribute"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_get_return_attribute</title>
+<p>Retrieve an arbitrary attribute associated with the return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page
new file mode 100644
index 0000000..729d843
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_return_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_get_return_type</title>
+<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page
new file mode 100644
index 0000000..9a76370
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_iterate_return_attributes"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_iterate_return_attributes</title>
+<p>Iterate over all attributes associated with the return value.  The
+iterator structure is typically stack allocated, and must have its
+first member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+and must not be freed.</p><p>See g_base_info_iterate_attributes() for an example of how to use a
+similar API.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_arg.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_arg.page
new file mode 100644
index 0000000..c00ca54
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_arg.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_load_arg"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_load_arg</title>
+<p>Obtain information about a particular argument of this callable; this
+function is a variant of g_callable_info_get_arg() designed for stack
+allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page
new file mode 100644
index 0000000..e64c6e9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_load_return_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_load_return_type</title>
+<p>Obtain information about a return value of callable; this
+function is a variant of g_callable_info_get_return_type() designed for stack
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page
new file mode 100644
index 0000000..59ef2af
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_may_return_null"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_may_return_null</title>
+<p>See if a callable could return %NULL.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page
new file mode 100644
index 0000000..0e9fa95
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_skip_return"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_callable_info_skip_return</title>
+<p>See if a callable's return value is only useful in C.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_type.page
new file mode 100644
index 0000000..9e4309b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.constant_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_constant_info_get_type</title>
+<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page
new file mode 100644
index 0000000..e004e64
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.constant_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_constant_info_get_value</title>
+<p>Obtain the value associated with the <link xref="GIConstantInfo">GIConstantInfo</link> and store it in the
+ value parameter. @argument needs to be allocated before passing it in.
+The size of the constant value stored in @argument will be returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_error_domain.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_error_domain.page
new file mode 100644
index 0000000..6dc3ff4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_error_domain.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_error_domain"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_enum_info_get_error_domain</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_n_values.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_n_values.page
new file mode 100644
index 0000000..4ff1662
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_n_values.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_n_values"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_enum_info_get_n_values</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_storage_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_storage_type.page
new file mode 100644
index 0000000..5ee1eeb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_storage_type.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_storage_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_enum_info_get_storage_type</title>
+<p>Obtain the tag of the type used for the enum in the C ABI. This will
+will be a signed or unsigned integral type.
+Note that in the current implementation the width of the type is
+computed correctly, but the signed or unsigned nature of the type
+may not match the sign of the type used by the C compiler.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_value.page
new file mode 100644
index 0000000..86075c7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.enum_info_get_value.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_enum_info_get_value</title>
+<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page
new file mode 100644
index 0000000..2435dbd
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_get_field</title>
+<p>Reads a field identified by a <link xref="GFieldInfo">GFieldInfo</link> from a C structure or
+union.  This only handles fields of simple C types. It will fail
+for a field of a composite type like a nested structure or union
+even if that is actually readable.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_flags.page
new file mode 100644
index 0000000..cac65ed
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_get_flags</title>
+<p>Obtain the flags for this <link xref="GIFieldInfo">GIFieldInfo</link>. See <link xref="GIFieldInfoFlags">GIFieldInfoFlags</link> for possible
+flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_offset.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_offset.page
new file mode 100644
index 0000000..406c67f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_offset.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_get_offset</title>
+<p>Obtain the offset in bits of the field member, this is relative
+to the beginning of the struct or union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_size.page
new file mode 100644
index 0000000..6c4534b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_size.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_get_size</title>
+<p>Obtain the size in bits of the field member, this is how
+much space you need to allocate to store the field.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_type.page
new file mode 100644
index 0000000..9f0de8a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_get_type</title>
+<p>Obtain the type of a field as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
new file mode 100644
index 0000000..81eac7e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_set_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_field_info_set_field</title>
+<p>Writes a field identified by a <link xref="GFieldInfo">GFieldInfo</link> to a C structure or
+union.  This only handles fields of simple C types. It will fail
+for a field of a composite type like a nested structure or union
+even if that is actually writable. Note also that that it will refuse
+to write fields where memory management would by required. A field
+with a type such as 'char *' must be set with a setter function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_flags.page
new file mode 100644
index 0000000..1f5a988
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_flags.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_function_info_get_flags</title>
+<p>Obtain the <link xref="GIFunctionInfoFlags">GIFunctionInfoFlags</link> for the @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page
new file mode 100644
index 0000000..f1c9b2a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_function_info_get_property</title>
+<p>Obtain the property associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
+Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or
+%GI_FUNCTION_IS_SETTER have a property set. For other cases,
+%NULL will be returned.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page
new file mode 100644
index 0000000..b34d0d8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_symbol"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_function_info_get_symbol</title>
+<p>Obtain the symbol of the function. The symbol is the name of the
+exported function, suitable to be used as an argument to
+g_module_symbol().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_vfunc.page
new file mode 100644
index 0000000..6187a76
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_vfunc.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_function_info_get_vfunc</title>
+<p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
+Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
+a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page
new file mode 100644
index 0000000..c2b73a4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_invoke"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_function_info_invoke</title>
+<p>Invokes the function described in @info with the given
+arguments. Note that inout parameters must appear in both
+argument lists. This function uses dlsym() to obtain a pointer
+to the function, so the library or shared object containing the
+described function must either be linked to the caller, or must
+have been g_module_symbol()&lt;!-- --&gt;ed before calling this function.</p><p>error occurred.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page
new file mode 100644
index 0000000..75cbf8d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.info_new"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_info_new</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_type_to_string.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_type_to_string.page
new file mode 100644
index 0000000..8102182
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_type_to_string.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.info_type_to_string"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_info_type_to_string</title>
+<p>Obtain a string representation of @type</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page
new file mode 100644
index 0000000..b4f7a26
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_find_method</title>
+<p>Obtain a method of the interface type given a @name. %NULL will be
+returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page
new file mode 100644
index 0000000..6b5878f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_find_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_find_vfunc</title>
+<p>Locate a virtual function slot with name @name. See the documentation
+for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page
new file mode 100644
index 0000000..8f3e1e8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_constant"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_constant</title>
+<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page
new file mode 100644
index 0000000..d8ac1a7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_iface_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_iface_struct</title>
+<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page
new file mode 100644
index 0000000..3de6eee
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_method</title>
+<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page
new file mode 100644
index 0000000..03c41fb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_constants"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_constants</title>
+<p>Obtain the number of constants that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page
new file mode 100644
index 0000000..138954b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_methods</title>
+<p>Obtain the number of methods that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page
new file mode 100644
index 0000000..8b6456b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_prerequisites"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_prerequisites</title>
+<p>Obtain the number of prerequisites for this interface type.
+A prerequisites is another interface that needs to be implemented for
+interface, similar to an base class for GObjects.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_properties.page
new file mode 100644
index 0000000..9856351
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_properties.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_properties"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_properties</title>
+<p>Obtain the number of properties that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page
new file mode 100644
index 0000000..e9070e9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_signals"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_signals</title>
+<p>Obtain the number of signals that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page
new file mode 100644
index 0000000..aa04819
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_vfuncs"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_n_vfuncs</title>
+<p>Obtain the number of virtual functions that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page
new file mode 100644
index 0000000..095f4ba
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_prerequisite"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_prerequisite</title>
+<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page
new file mode 100644
index 0000000..44609b3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_property</title>
+<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page
new file mode 100644
index 0000000..046a6c4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_signal</title>
+<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page
new file mode 100644
index 0000000..7bf2886
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_interface_info_get_vfunc</title>
+<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page
new file mode 100644
index 0000000..5b8f56e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.invoke_error_quark"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_invoke_error_quark</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.nvokeError.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.nvokeError.page
new file mode 100644
index 0000000..b942d98
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.nvokeError.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.nvokeError"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepositorynvokeError</title>
+<p>An error occuring while invoking a function via
+g_function_info_invoke().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page
new file mode 100644
index 0000000..5e99574
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_find_method</title>
+<p>Obtain a method of the object type given a @name. %NULL will be
+returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page
new file mode 100644
index 0000000..a30510e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_method_using_interfaces"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_find_method_using_interfaces</title>
+<p>Obtain a method of the object given a @name, searching both the
+object @info and any interfaces it implements.  %NULL will be
+returned if there's no method available with that name.</p><p>Note that this function does *not* search parent classes; you will have
+to chain up if that's desired.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page
new file mode 100644
index 0000000..3b7662c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_find_signal</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_vfunc.page
new file mode 100644
index 0000000..d3f7990
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_vfunc.page
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_find_vfunc</title>
+<p>Locate a virtual function slot with name @name. Note that the namespace
+for virtuals is distinct from that of methods; there may or may not be
+a concrete method associated for a virtual. If there is one, it may
+be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
+returned.
+See the documentation for g_vfunc_info_get_invoker() for more
+information on invoking virtuals.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page
new file mode 100644
index 0000000..068650f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_abstract"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_abstract</title>
+<p>Obtain if the object type is an abstract type, eg if it cannot be
+instantiated</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_class_struct.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_class_struct.page
new file mode 100644
index 0000000..8da2729
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_class_struct.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_class_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_class_struct</title>
+<p>Every <link xref="GObject">GObject</link> has two structures; an instance structure and a class
+structure.  This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page
new file mode 100644
index 0000000..bcf08e8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_constant"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_constant</title>
+<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page
new file mode 100644
index 0000000..22cc701
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_field</title>
+<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page
new file mode 100644
index 0000000..b8cd042
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_fundamental"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_fundamental</title>
+<p>Obtain if the object type is of a fundamental type which is not
+G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function.page
new file mode 100644
index 0000000..9d81004
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_get_value_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_get_value_function</title>
+<p>Obtain the symbol name of the function that should be called to convert
+an object instance pointer of this object type to a GValue.
+I's mainly used fundamental types. The type signature for the symbol
+is %GIObjectInfoGetValueFunction, to fetch the function pointer
+see g_object_info_get_get_value_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function_pointer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function_pointer.page
new file mode 100644
index 0000000..2226ead
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_get_value_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_get_value_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_get_value_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+extract an instance of this object type out of a GValue.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_interface.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_interface.page
new file mode 100644
index 0000000..63c791f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_interface.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_interface"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_interface</title>
+<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page
new file mode 100644
index 0000000..a657b4e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_method</title>
+<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page
new file mode 100644
index 0000000..3537047
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_constants"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_constants</title>
+<p>Obtain the number of constants that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page
new file mode 100644
index 0000000..20bf1c2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_fields</title>
+<p>Obtain the number of fields that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page
new file mode 100644
index 0000000..4514524
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_interfaces"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_interfaces</title>
+<p>Obtain the number of interfaces that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page
new file mode 100644
index 0000000..a6b4f80
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_methods</title>
+<p>Obtain the number of methods that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page
new file mode 100644
index 0000000..3b1a3f1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_properties"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_properties</title>
+<p>Obtain the number of properties that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page
new file mode 100644
index 0000000..95e3d50
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_signals"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_signals</title>
+<p>Obtain the number of signals that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page
new file mode 100644
index 0000000..5a01687
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_vfuncs"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_n_vfuncs</title>
+<p>Obtain the number of virtual functions that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page
new file mode 100644
index 0000000..ea52bca
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_parent"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_parent</title>
+<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page
new file mode 100644
index 0000000..b827f85
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_property</title>
+<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page
new file mode 100644
index 0000000..25d8406
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_ref_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_ref_function</title>
+<p>Obtain the symbol name of the function that should be called to ref this
+object type. It's mainly used fundamental types. The type signature for
+the symbol is %GIObjectInfoRefFunction, to fetch the function pointer
+see g_object_info_get_ref_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function_pointer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function_pointer.page
new file mode 100644
index 0000000..56a3c3d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_ref_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_ref_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+increase the reference count an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function.page
new file mode 100644
index 0000000..5cdb04c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_set_value_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_set_value_function</title>
+<p>Obtain the symbol name of the function that should be called to convert
+set a GValue giving an object instance pointer of this object type.
+I's mainly used fundamental types. The type signature for the symbol
+is %GIObjectInfoSetValueFunction, to fetch the function pointer
+see g_object_info_get_set_value_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function_pointer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function_pointer.page
new file mode 100644
index 0000000..0177dbc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_set_value_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_set_value_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_set_value_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+set a GValue given an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_signal.page
new file mode 100644
index 0000000..b33d72c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_signal</title>
+<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page
new file mode 100644
index 0000000..76aa19d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_type_init"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_type_init</title>
+<p>Obtain the function which when called will return the GType
+function for which this object type is registered.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_name.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_name.page
new file mode 100644
index 0000000..89a2a88
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_name.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_type_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_type_name</title>
+<p>Obtain the name of the objects class/type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page
new file mode 100644
index 0000000..4597c89
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_unref_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_unref_function</title>
+<p>Obtain the symbol name of the function that should be called to unref this
+object type. It's mainly used fundamental types. The type signature for
+the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer
+see g_object_info_get_unref_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function_pointer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function_pointer.page
new file mode 100644
index 0000000..a152b76
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_unref_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_unref_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+decrease the reference count an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_vfunc.page
new file mode 100644
index 0000000..fe27e3e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_vfunc.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_object_info_get_vfunc</title>
+<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page
new file mode 100644
index 0000000..eecc693
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_property_info_get_flags</title>
+<p>Obtain the flags for this property info. See <link xref="GParamFags">GParamFags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_ownership_transfer.page
new file mode 100644
index 0000000..fc24387
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_ownership_transfer.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_ownership_transfer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_property_info_get_ownership_transfer</title>
+<p>Obtain the ownership transfer for this property. See <link xref="GITransfer">GITransfer</link> for more
+information about transfer values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_type.page
new file mode 100644
index 0000000..4f49dbe
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_property_info_get_type</title>
+<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page
new file mode 100644
index 0000000..30098eb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_g_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_registered_type_info_get_g_type</title>
+<p>Obtain the <link xref="GType">GType</link> for this registered type or G_TYPE_NONE which a special meaning.
+It means that either there is no type information associated with this @info or
+that the shared library which provides the type_init function for this
+ info cannot be called.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_init.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_init.page
new file mode 100644
index 0000000..fe71e6b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_init.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_type_init"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_registered_type_info_get_type_init</title>
+<p>Obtain the type init function for @info. The type init function is the
+function which will register the GType within the GObject type system.
+Usually this is not called by langauge bindings or applications, use
+g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page
new file mode 100644
index 0000000..a651f7c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_type_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_registered_type_info_get_type_name</title>
+<p>Obtain the type name of the struct within the GObject type system.
+This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_class_closure.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_class_closure.page
new file mode 100644
index 0000000..05a465a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_class_closure.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_get_class_closure"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_signal_info_get_class_closure</title>
+<p>Obtain the class closure for this signal if one is set. The class
+closure is a virtual function on the type that the signal belongs to.
+If the signal lacks a closure %NULL will be returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_flags.page
new file mode 100644
index 0000000..763e4bf
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_signal_info_get_flags</title>
+<p>Obtain the flags for this signal info. See <link xref="GSignalFlags">GSignalFlags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_true_stops_emit.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_true_stops_emit.page
new file mode 100644
index 0000000..02cc1b8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.signal_info_true_stops_emit.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_true_stops_emit"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_signal_info_true_stops_emit</title>
+<p>Obtain if the returning true in the signal handler will
+stop the emission of the signal.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_find_method.page
new file mode 100644
index 0000000..9c446c5
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_find_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_find_method</title>
+<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page
new file mode 100644
index 0000000..7cb4a80
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_alignment"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_alignment</title>
+<p>Obtain the required alignment of the structure.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page
new file mode 100644
index 0000000..5da3e83
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_field</title>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page
new file mode 100644
index 0000000..6bbdb1a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_method</title>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page
new file mode 100644
index 0000000..210f747
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_n_fields</title>
+<p>Obtain the number of fields this structure has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page
new file mode 100644
index 0000000..2e1e873
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_n_methods</title>
+<p>Obtain the number of methods this structure has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page
new file mode 100644
index 0000000..738ce9a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_get_size</title>
+<p>Obtain the total size of the structure.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page
new file mode 100644
index 0000000..2b266ef
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_is_foreign"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_is_foreign</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_gtype_struct.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_gtype_struct.page
new file mode 100644
index 0000000..3555b8e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_gtype_struct.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_is_gtype_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_struct_info_is_gtype_struct</title>
+<p>Return true if this structure represents the "class structure" for some
+<link xref="GObject">GObject</link> or <link xref="GInterface">GInterface</link>.  This function is mainly useful to hide this kind of structure
+from generated public APIs.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_fixed_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_fixed_size.page
new file mode 100644
index 0000000..8598d54
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_fixed_size.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_fixed_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_array_fixed_size</title>
+<p>Obtain the fixed array size of the type. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_length.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_length.page
new file mode 100644
index 0000000..b091016
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_length.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_length"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_array_length</title>
+<p>Obtain the array length of the type. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_type.page
new file mode 100644
index 0000000..17f87f2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_array_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_array_type</title>
+<p>Obtain the array type for this type. See <link xref="GIArrayType">GIArrayType</link> for a list of
+possible values. If the type tag of this type is not array, -1 will be
+returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_interface.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_interface.page
new file mode 100644
index 0000000..b12793b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_interface.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_interface"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_interface</title>
+<p>For types which have <link xref="GI_TYPE_TAG_INTERFACE">GI_TYPE_TAG_INTERFACE</link> such as GObjects and boxed values,
+this function returns full information about the referenced type.  You can then
+inspect the type of the returned <link xref="GIBaseInfo">GIBaseInfo</link> to further query whether it is
+a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page
new file mode 100644
index 0000000..e657da5
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_param_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_param_type</title>
+<p>Obtain the parameter type @n.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page
new file mode 100644
index 0000000..6d5b400
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_tag"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_get_tag</title>
+<p>Obtain the type tag for the type. See <link xref="GITypeTag">GITypeTag</link> for a list
+of type tags.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_pointer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_pointer.page
new file mode 100644
index 0000000..89b3e45
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_pointer.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_is_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_is_pointer</title>
+<p>Obtain if the type is passed as a reference.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page
new file mode 100644
index 0000000..c0d8afc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_is_zero_terminated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_info_is_zero_terminated</title>
+<p>Obtain if the last element of the array is %NULL. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_tag_to_string.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_tag_to_string.page
new file mode 100644
index 0000000..8287784
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_tag_to_string.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_tag_to_string"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_type_tag_to_string</title>
+<p>Obtain a string representation of @type</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page
new file mode 100644
index 0000000..991ae89
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_find_method</title>
+<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page
new file mode 100644
index 0000000..25fc4d8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_alignment"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_alignment</title>
+<p>Obtain the required alignment of the union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page
new file mode 100644
index 0000000..974a1cb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_discriminator</title>
+<p>Obtain discriminator value assigned for n-th union field, i.e. n-th
+union field is the active one if discriminator contains this
+constant.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page
new file mode 100644
index 0000000..9fa8c0e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_discriminator_offset</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_type.page
new file mode 100644
index 0000000..2e31022
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_discriminator_type</title>
+<p>Obtain the type information of the union discriminator.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page
new file mode 100644
index 0000000..77ff25a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_field</title>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page
new file mode 100644
index 0000000..bb54132
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_method</title>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page
new file mode 100644
index 0000000..10e1472
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_n_fields</title>
+<p>Obtain the number of fields this union has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page
new file mode 100644
index 0000000..3c4b319
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_n_methods</title>
+<p>Obtain the number of methods this union has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page
new file mode 100644
index 0000000..3644d37
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_get_size</title>
+<p>Obtain the total size of the union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page
new file mode 100644
index 0000000..934cd89
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_is_discriminated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_union_info_is_discriminated</title>
+<p>Return true if this union contains discriminator field.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page
new file mode 100644
index 0000000..2c63b17
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.value_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_value_info_get_value</title>
+<p>Obtain the enumeration value of the <link xref="GIValueInfo">GIValueInfo</link>.</p><p>as a 32-bit signed or unsigned value. The use of gint64 as the
+return type is to allow both.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_address.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_address.page
new file mode 100644
index 0000000..e0a94e3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_address.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_address"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_get_address</title>
+<p>This method will look up where inside the type struct of @implementor_gtype
+is the implementation for @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_flags.page
new file mode 100644
index 0000000..46b3ad2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_get_flags</title>
+<p>Obtain the flags for this virtual function info. See <link xref="GIVFuncInfoFlags">GIVFuncInfoFlags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_invoker.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_invoker.page
new file mode 100644
index 0000000..117e9e2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_invoker.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_invoker"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_get_invoker</title>
+<p>If this virtual function has an associated invoker method, this
+method will return it.  An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page
new file mode 100644
index 0000000..f5bc5f4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_get_offset</title>
+<p>Obtain the offset of the function pointer in the class struct. The value
+0xFFFF indicates that the struct offset is unknown.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_signal.page
new file mode 100644
index 0000000..4a45456
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_signal.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_get_signal</title>
+<p>Obtain the signal for the virtual function if one is set.
+The signal comes from the object or interface to which
+this virtual function belongs.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_invoke.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_invoke.page
new file mode 100644
index 0000000..3df8841
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_invoke.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_invoke"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>g_vfunc_info_invoke</title>
+<p>Invokes the function described in @info with the given
+arguments. Note that inout parameters must appear in both
+argument lists.</p><p>error occurred.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-C-expected.page b/tests/doctool/GIRepository-2.0-C-expected/index.page
similarity index 100%
rename from tests/doctool/GIRepository-2.0-C-expected.page
rename to tests/doctool/GIRepository-2.0-C-expected/index.page
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page
new file mode 100644
index 0000000..c804fe0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ArgInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ArgInfo</title>
+<p>Represents an argument.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page
new file mode 100644
index 0000000..31a1f19
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ArrayType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ArrayType</title>
+<p>The type of array in a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page
new file mode 100644
index 0000000..39cc330
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.AttributeIter"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.AttributeIter</title>
+<p>An opaque structure used to iterate over attributes
+in a <link xref="GIBaseInfo">GIBaseInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
new file mode 100644
index 0000000..d650f81
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.equal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.equal</title>
+<p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return
+different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the
+TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
new file mode 100644
index 0000000..4979c51
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_attribute"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.get_attribute</title>
+<p>Retrieve an arbitrary attribute associated with this node.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
new file mode 100644
index 0000000..1fb285f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_container"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.get_container</title>
+<p>Obtain the container of the @info. The container is the parent
+GIBaseInfo. For instance, the parent of a <link xref="GIFunctionInfo">GIFunctionInfo</link> is an
+<link xref="GIObjectInfo">GIObjectInfo</link> or <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
new file mode 100644
index 0000000..7ac3a14
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.get_name</title>
+<p>Obtain the name of the @info. What the name represents depends on
+the <link xref="GIInfoType">GIInfoType</link> of the @info. For instance for <link xref="GIFunctionInfo">GIFunctionInfo</link> it is
+the name of the function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
new file mode 100644
index 0000000..b66409c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_namespace"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.get_namespace</title>
+<p>Obtain the namespace of @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
new file mode 100644
index 0000000..b856a22
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.get_typelib"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.get_typelib</title>
+<p>Obtain the typelib this @info belongs to</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
new file mode 100644
index 0000000..f7c24a3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.is_deprecated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.is_deprecated</title>
+<p>Obtain whether the @info is represents a metadata which is
+deprecated or not.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
new file mode 100644
index 0000000..5b9bf3b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page
@@ -0,0 +1,29 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.iterate_attributes"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.iterate_attributes</title>
+<p>Iterate over all attributes associated with this node.  The iterator
+structure is typically stack allocated, and must have its first
+member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+and must not be freed.</p><p>&lt;example&gt;
+&lt;title&gt;Iterating over attributes&lt;/title&gt;
+&lt;programlisting&gt;
+void
+print_attributes (GIBaseInfo *info)
+{
+GIAttributeIter iter = { 0, };
+char *name;
+char *value;
+while (g_base_info_iterate_attributes (info, &amp;iter, &amp;name, &amp;value))
+{
+g_print ("attribute name: %s value: %s", name, value);
+}
+}
+&lt;/programlisting&gt;
+&lt;/example&gt;</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page
new file mode 100644
index 0000000..8bb5fcd
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.BaseInfo</title>
+<p>GIBaseInfo is the common base struct of all other *Info structs
+accessible through the <link xref="GIRepository">GIRepository</link> API.
+All other structs can be casted to a <link xref="GIBaseInfo">GIBaseInfo</link>, for instance:
+&lt;example&gt;
+&lt;title&gt;Casting a <link xref="GIFunctionInfo">GIFunctionInfo</link> to <link xref="GIBaseInfo">GIBaseInfo</link>&lt;/title&gt;
+&lt;programlisting&gt;
+GIFunctionInfo *function_info = ...;
+GIBaseInfo *info = (GIBaseInfo*)function_info;
+&lt;/programlisting&gt;
+&lt;/example&gt;
+Most <link xref="GIRepository">GIRepository</link> APIs returning a <link xref="GIBaseInfo">GIBaseInfo</link> is actually creating a new struct, in other
+words, g_base_info_unref() has to be called when done accessing the data.
+GIBaseInfos are normally accessed by calling either
+g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().</p><p>&lt;example&gt;
+&lt;title&gt;Getting the Button of the Gtk typelib&lt;/title&gt;
+&lt;programlisting&gt;
+GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button");
+... use button_info ...
+g_base_info_unref(button_info);
+&lt;/programlisting&gt;
+&lt;/example&gt;</p><p>&lt;refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"&gt;
+&lt;title role="struct_hierarchy.title"&gt;Struct hierarchy&lt;/title&gt;
+&lt;synopsis&gt;
+GIBaseInfo
++----&lt;link linkend="gi-GIArgInfo"&gt;GIArgInfo&lt;/link&gt;
++----&lt;link linkend="gi-GICallableInfo"&gt;GICallableInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIConstantInfo"&gt;GIConstantInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIFieldInfo"&gt;GIFieldInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIPropertyInfo"&gt;GIPropertyInfo&lt;/link&gt;
++----&lt;link linkend="gi-GIRegisteredTypeInfo"&gt;GIRegisteredTypeInfo&lt;/link&gt;
++----&lt;link linkend="gi-GITypeInfo"&gt;GITypeInfo&lt;/link&gt;
+&lt;/synopsis&gt;
+&lt;/refsect1&gt;</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
new file mode 100644
index 0000000..0b81c1d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.ref"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.ref</title>
+<p>Increases the reference count of @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
new file mode 100644
index 0000000..5abc2ad
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.BaseInfo.unref"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.BaseInfo" group="function"/>
+  </info>
+  <title>GIRepository.unref</title>
+<p>Decreases the reference count of @info. When its reference count
+drops to 0, the info is freed.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page
new file mode 100644
index 0000000..739ee20
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.CallableInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.CallableInfo</title>
+<p>Represents a callable, either <link xref="GIFunctionInfo">GIFunctionInfo</link>, <link xref="GICallbackInfo">GICallbackInfo</link> or
+<link xref="GIVFuncInfo">GIVFuncInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page
new file mode 100644
index 0000000..8205593
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.CallbackInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.CallbackInfo</title>
+<p>Represents a callback, eg arguments and return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page
new file mode 100644
index 0000000..1780406
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ConstantInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ConstantInfo</title>
+<p>Represents a constant.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page
new file mode 100644
index 0000000..1b68ba8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Direction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.Direction</title>
+<p>The direction of a <link xref="GIArgInfo">GIArgInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page
new file mode 100644
index 0000000..76c7154
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.EnumInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.EnumInfo</title>
+<p>Represents an enum or a flag.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page
new file mode 100644
index 0000000..9aae680
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FieldInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.FieldInfo</title>
+<p>Represents a field of a <link xref="GIStructInfo">GIStructInfo</link> or a <link xref="GIUnionInfo">GIUnionInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page
new file mode 100644
index 0000000..d1e85b0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FieldInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.FieldInfoFlags</title>
+<p>Flags for a <link xref="GIFieldInfo">GIFieldInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page
new file mode 100644
index 0000000..d20c7b2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FunctionInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.FunctionInfo</title>
+<p>Represents a function, eg arguments and return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page
new file mode 100644
index 0000000..f86678c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.FunctionInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.FunctionInfoFlags</title>
+<p>Flags for a <link xref="GIFunctionInfo">GIFunctionInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page
new file mode 100644
index 0000000..04e4bbb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.InfoType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.InfoType</title>
+<p>The type of a GIBaseInfo struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page
new file mode 100644
index 0000000..7688335
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.InterfaceInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.InterfaceInfo</title>
+<p>Represents an interface.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page
new file mode 100644
index 0000000..3cd4aed
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ObjectInfo</title>
+<p>Represents an object.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page
new file mode 100644
index 0000000..1052455
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoGetValueFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ObjectInfoGetValueFunction</title>
+<p>Extract an object instance out of @value</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page
new file mode 100644
index 0000000..5af4046
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoRefFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ObjectInfoRefFunction</title>
+<p>Increases the reference count of an object instance.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page
new file mode 100644
index 0000000..2940635
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoSetValueFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ObjectInfoSetValueFunction</title>
+<p>Update @value and attach the object instance pointer @object to it.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page
new file mode 100644
index 0000000..64f7d99
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ObjectInfoUnrefFunction"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ObjectInfoUnrefFunction</title>
+<p>Decreases the reference count of an object instance.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page
new file mode 100644
index 0000000..5b92351
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.PropertyInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.PropertyInfo</title>
+<p>Represents a property of a <link xref="GIObjectInfo">GIObjectInfo</link> or a <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page
new file mode 100644
index 0000000..debbc0b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RegisteredTypeInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.RegisteredTypeInfo</title>
+<p>Represent a registered type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
new file mode 100644
index 0000000..2007a01
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.enumerate_versions"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.enumerate_versions</title>
+<p>Obtain an unordered list of versions (either currently loaded or
+available) for @namespace_ in this @repository.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page
new file mode 100644
index 0000000..370639e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_error_domain"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.find_by_error_domain</title>
+<p>Searches for the enum type corresponding to the given <link xref="GError">GError</link>
+domain. Before calling this function for a particular namespace,
+you must call g_irepository_require() once to load the namespace, or
+otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
new file mode 100644
index 0000000..24d317d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_gtype"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.find_by_gtype</title>
+<p>Searches all loaded namespaces for a particular <link xref="GType">GType</link>.  Note that
+in order to locate the metadata, the namespace corresponding to
+the type must first have been loaded.  There is currently no
+mechanism for determining the namespace which corresponds to an
+arbitrary GType - thus, this function will operate most reliably
+when you know the GType to originate from be from a loaded namespace.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
new file mode 100644
index 0000000..1c37db8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.find_by_name"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.find_by_name</title>
+<p>Searches for a particular entry in a namespace.  Before calling
+this function for a particular namespace, you must call
+g_irepository_require() once to load the namespace, or otherwise
+ensure the namespace has already been loaded.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
new file mode 100644
index 0000000..363aa8e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_c_prefix"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_c_prefix</title>
+<p>This function returns the "C prefix", or the C level namespace
+associated with the given introspection namespace.  Each C symbol
+starts with this prefix, as well each <link xref="GType">GType</link> in the library.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
new file mode 100644
index 0000000..901e7f3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_dependencies"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_dependencies</title>
+<p>Return an array of all (transitive) dependencies for namespace
+ namespace_, including version.  The returned strings are of the
+form &lt;code&gt;namespace-version&lt;/code&gt;.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
new file mode 100644
index 0000000..d5b6776
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_info"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_info</title>
+<p>This function returns a particular metadata entry in the
+given namespace @namespace_.  The namespace must have
+already been loaded before calling this function.
+See g_irepository_get_n_infos() to find the maximum number of
+entries.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
new file mode 100644
index 0000000..b271d76
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_loaded_namespaces"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_loaded_namespaces</title>
+<p>Return the list of currently loaded namespaces.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
new file mode 100644
index 0000000..3173cbb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_n_infos"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_n_infos</title>
+<p>This function returns the number of metadata entries in
+given namespace @namespace_.  The namespace must have
+already been loaded before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
new file mode 100644
index 0000000..01be5d7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_shared_library"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_shared_library</title>
+<p>This function returns the full path to the shared C library
+associated with the given namespace @namespace_. There may be no
+shared library path associated, in which case this function will
+return %NULL.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
new file mode 100644
index 0000000..ae235c2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_typelib_path"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_typelib_path</title>
+<p>If namespace @namespace_ is loaded, return the full path to the
+.typelib file it was loaded from.  If the typelib for
+namespace @namespace_ was included in a shared library, return
+the special string "$lt;builtin$gt;".</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
new file mode 100644
index 0000000..0814007
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.get_version"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.get_version</title>
+<p>This function returns the loaded version associated with the given
+namespace @namespace_.</p><p>Note: The namespace must have already been loaded using a function
+such as g_irepository_require() before calling this function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
new file mode 100644
index 0000000..37e6e9a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.is_registered"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.is_registered</title>
+<p>Check whether a particular namespace (and optionally, a specific
+version thereof) is currently loaded.  This function is likely to
+only be useful in unusual circumstances; in order to act upon
+metadata in the namespace, you should call g_irepository_require()
+instead which will ensure the namespace is loaded, and return as
+quickly as this function will if it has already been loaded.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
new file mode 100644
index 0000000..23ea82b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.load_typelib"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.load_typelib</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
new file mode 100644
index 0000000..02cfb1f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository"
+      type="guide"
+      style="class"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="class"/>
+  </info>
+  <title>GIRepository.Repository</title>
+  <synopsis ui:expanded="no">
+    <title>Hierarchy</title>
+    <tree>
+      <item>
+        <code>GObject.Object</code>
+      </item>
+    </tree>
+  </synopsis>
+  <links type="topic" ui:expanded="yes" groups="constructor">
+    <title>Constructors</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="method">
+    <title>Methods</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="property">
+    <title>Properties</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="signal">
+    <title>Signals</title>
+  </links>
+  <links type="topic" ui:expanded="yes" groups="#first #default #last">
+    <title>Other</title>
+  </links>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
new file mode 100644
index 0000000..cb83eda
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.require"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.require</title>
+<p>Force the namespace @namespace_ to be loaded if it isn't already.
+If @namespace_ is not loaded, this function will search for a
+".typelib" file using the repository search path.  In addition, a
+version @version of namespace may be specified.  If @version is
+not specified, the latest will be used.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
new file mode 100644
index 0000000..913f9fc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Repository.require_private"
+      type="topic"
+      style="method"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Repository" group="method"/>
+  </info>
+  <title>GIRepository.require_private</title>
+<p>Force the namespace @namespace_ to be loaded if it isn't already.
+If @namespace_ is not loaded, this function will search for a
+".typelib" file within the private directory only. In addition, a
+version @version of namespace should be specified.  If @version is
+not specified, the latest will be used.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page
new file mode 100644
index 0000000..e8282d8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryClass"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.RepositoryClass</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page
new file mode 100644
index 0000000..f2c0a0b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryError"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.RepositoryError</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page
new file mode 100644
index 0000000..620b0d7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryLoadFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.RepositoryLoadFlags</title>
+<p>Flags that controlls how a typelib is loaded by
+GIRepositry, used by g_irepository_load_typelib().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page
new file mode 100644
index 0000000..b8d2313
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.RepositoryPrivate"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.RepositoryPrivate</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page
new file mode 100644
index 0000000..8ac8bff
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ScopeType"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ScopeType</title>
+<p>Scope type of a <link xref="GIArgInfo">GIArgInfo</link> representing callback, determines how the
+callback is invoked and is used to decided when the invoke structs
+can be freed.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page
new file mode 100644
index 0000000..239e792
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.SignalInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.SignalInfo</title>
+<p>Represents a signal.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page
new file mode 100644
index 0000000..f99632f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.StructInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.StructInfo</title>
+<p>Represents a struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page
new file mode 100644
index 0000000..b1c7a86
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Transfer"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.Transfer</title>
+<p>The transfer is the exchange of data between two parts, from the callee to
+the caller. The callee is either a function/method/signal or an
+object/interface where a property is defined. The caller is the side
+accessing a property or calling a function.
+<link xref="GITransfer">GITransfer</link> specifies who's responsible for freeing the resources after the
+ownership transfer is complete. In case of a containing type such as a list,
+an array or a hash table the container itself is specified differently from
+the items within the container itself. Each container is freed differently,
+check the documentation for the types themselves for information on how to
+free them.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page
new file mode 100644
index 0000000..38ac193
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.TypeInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.TypeInfo</title>
+<p>Represents type information, direction, transfer etc.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page
new file mode 100644
index 0000000..128b412
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.TypeTag"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.TypeTag</title>
+<p>The type tag of a <link xref="GITypeInfo">GITypeInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page
new file mode 100644
index 0000000..6f50f76
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.free"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>GIRepository.free</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page
new file mode 100644
index 0000000..23642dd
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.get_namespace"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>GIRepository.get_namespace</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page
new file mode 100644
index 0000000..946bb07
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.Typelib</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page
new file mode 100644
index 0000000..a65440d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.Typelib.symbol"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="GIRepository.Typelib" group="function"/>
+  </info>
+  <title>GIRepository.symbol</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page
new file mode 100644
index 0000000..34ee638
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.UnionInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.UnionInfo</title>
+<p>Represents a union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page
new file mode 100644
index 0000000..e65ea50
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.UnresolvedInfo"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository.UnresolvedInfo</title>
+<p>Represents a unresolved type in a typelib.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page
new file mode 100644
index 0000000..6dc6317
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.VFuncInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.VFuncInfo</title>
+<p>Represents a virtual function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page
new file mode 100644
index 0000000..df2ca4f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.VFuncInfoFlags"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.VFuncInfoFlags</title>
+<p>Flags of a <link xref="GIVFuncInfo">GIVFuncInfo</link> struct.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page
new file mode 100644
index 0000000..3892b2a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository.ValueInfo"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.ValueInfo</title>
+<p>Represents a enum value of a <link xref="GIEnumInfo">GIEnumInfo</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page
new file mode 100644
index 0000000..4189350
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<page id="GIRepository._Argument"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository._Argument</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
new file mode 100644
index 0000000..13b5d80
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository._BaseInfoStub"
+      type="guide"
+      style="record"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index"/>
+  </info>
+  <title>GIRepository._BaseInfoStub</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
new file mode 100644
index 0000000..2dd6878
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_closure"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_closure</title>
+<p>Obtain the index of the user data argument. This is only valid
+for arguments which are callbacks.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page
new file mode 100644
index 0000000..5116162
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_destroy"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_destroy</title>
+<p>Obtains the index of the <link xref="GDestroyNotify">GDestroyNotify</link> argument. This is only valid
+for arguments which are callbacks.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page
new file mode 100644
index 0000000..c17be51
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_direction"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_direction</title>
+<p>Obtain the direction of the argument. Check <link xref="GIDirection">GIDirection</link> for possible
+direction values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page
new file mode 100644
index 0000000..a1091c9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_ownership_transfer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_ownership_transfer</title>
+<p>Obtain the ownership transfer for this argument.
+<link xref="GITransfer">GITransfer</link> contains a list of possible values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
new file mode 100644
index 0000000..f80b184
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_scope"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_scope</title>
+<p>Obtain the scope type for this argument. The scope type explains
+how a callback is going to be invoked, most importantly when
+the resources required to invoke it can be freed.
+<link xref="GIScopeType">GIScopeType</link> contains a list of possible values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page
new file mode 100644
index 0000000..7aba6d1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_get_type</title>
+<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page
new file mode 100644
index 0000000..4c50455
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_caller_allocates"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_is_caller_allocates</title>
+<p>Obtain if the argument is a pointer to a struct or object that will
+receive an output of a function.  The default assumption for
+%GI_DIRECTION_OUT arguments which have allocation is that the
+callee allocates; if this is %TRUE, then the caller must allocate.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page
new file mode 100644
index 0000000..0d87d0e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_optional"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_is_optional</title>
+<p>Obtain if the argument is optional.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page
new file mode 100644
index 0000000..a98a3a6
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_return_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_is_return_value</title>
+<p>Obtain if the argument is a return value. It can either be a
+parameter or a return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page
new file mode 100644
index 0000000..a455564
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_is_skip"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_is_skip</title>
+<p>Obtain if an argument is only useful in C.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page
new file mode 100644
index 0000000..4dbf812
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_load_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_load_type</title>
+<p>Obtain information about a the type of given argument @info; this
+function is a variant of g_arg_info_get_type() designed for stack
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page
new file mode 100644
index 0000000..ec2595c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.arg_info_may_be_null"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.arg_info_may_be_null</title>
+<p>Obtain if the argument accepts %NULL.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page
new file mode 100644
index 0000000..d217737
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.base_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.base_info_get_type</title>
+<p>Obtain the info type of the GIBaseInfo.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page
new file mode 100644
index 0000000..eca50d1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_arg"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_get_arg</title>
+<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page
new file mode 100644
index 0000000..730c3ce
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_caller_owns"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_get_caller_owns</title>
+<p>See whether the caller owns the return value of this callable.
+<link xref="GITransfer">GITransfer</link> contains a list of possible transfer values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page
new file mode 100644
index 0000000..1212d82
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_n_args"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_get_n_args</title>
+<p>Obtain the number of arguments (both IN and OUT) for this callable.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page
new file mode 100644
index 0000000..99d5139
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_return_attribute"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_get_return_attribute</title>
+<p>Retrieve an arbitrary attribute associated with the return value.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
new file mode 100644
index 0000000..653aafa
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_get_return_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_get_return_type</title>
+<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page
new file mode 100644
index 0000000..90c923a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_iterate_return_attributes"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_iterate_return_attributes</title>
+<p>Iterate over all attributes associated with the return value.  The
+iterator structure is typically stack allocated, and must have its
+first member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants
+and must not be freed.</p><p>See g_base_info_iterate_attributes() for an example of how to use a
+similar API.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
new file mode 100644
index 0000000..28e7258
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_load_arg"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_load_arg</title>
+<p>Obtain information about a particular argument of this callable; this
+function is a variant of g_callable_info_get_arg() designed for stack
+allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page
new file mode 100644
index 0000000..5176c82
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_load_return_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_load_return_type</title>
+<p>Obtain information about a return value of callable; this
+function is a variant of g_callable_info_get_return_type() designed for stack
+allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
new file mode 100644
index 0000000..e052363
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_may_return_null"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_may_return_null</title>
+<p>See if a callable could return %NULL.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page
new file mode 100644
index 0000000..05a7ea1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.callable_info_skip_return"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.callable_info_skip_return</title>
+<p>See if a callable's return value is only useful in C.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page
new file mode 100644
index 0000000..189e57c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.constant_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.constant_info_get_type</title>
+<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page
new file mode 100644
index 0000000..a47181a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.constant_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.constant_info_get_value</title>
+<p>Obtain the value associated with the <link xref="GIConstantInfo">GIConstantInfo</link> and store it in the
+ value parameter. @argument needs to be allocated before passing it in.
+The size of the constant value stored in @argument will be returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page
new file mode 100644
index 0000000..1aa26b4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_error_domain"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.enum_info_get_error_domain</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page
new file mode 100644
index 0000000..3fdbc5d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_n_values"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.enum_info_get_n_values</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page
new file mode 100644
index 0000000..6d827b8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_storage_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.enum_info_get_storage_type</title>
+<p>Obtain the tag of the type used for the enum in the C ABI. This will
+will be a signed or unsigned integral type.
+Note that in the current implementation the width of the type is
+computed correctly, but the signed or unsigned nature of the type
+may not match the sign of the type used by the C compiler.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page
new file mode 100644
index 0000000..bcb571e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.enum_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.enum_info_get_value</title>
+<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page
new file mode 100644
index 0000000..e824aa2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_get_field</title>
+<p>Reads a field identified by a <link xref="GFieldInfo">GFieldInfo</link> from a C structure or
+union.  This only handles fields of simple C types. It will fail
+for a field of a composite type like a nested structure or union
+even if that is actually readable.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page
new file mode 100644
index 0000000..88ceae7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_get_flags</title>
+<p>Obtain the flags for this <link xref="GIFieldInfo">GIFieldInfo</link>. See <link xref="GIFieldInfoFlags">GIFieldInfoFlags</link> for possible
+flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page
new file mode 100644
index 0000000..e7fe196
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_get_offset</title>
+<p>Obtain the offset in bits of the field member, this is relative
+to the beginning of the struct or union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page
new file mode 100644
index 0000000..0561b65
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_get_size</title>
+<p>Obtain the size in bits of the field member, this is how
+much space you need to allocate to store the field.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page
new file mode 100644
index 0000000..eca2798
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_get_type</title>
+<p>Obtain the type of a field as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page
new file mode 100644
index 0000000..ddee9b3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.field_info_set_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.field_info_set_field</title>
+<p>Writes a field identified by a <link xref="GFieldInfo">GFieldInfo</link> to a C structure or
+union.  This only handles fields of simple C types. It will fail
+for a field of a composite type like a nested structure or union
+even if that is actually writable. Note also that that it will refuse
+to write fields where memory management would by required. A field
+with a type such as 'char *' must be set with a setter function.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page
new file mode 100644
index 0000000..5d210e8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.function_info_get_flags</title>
+<p>Obtain the <link xref="GIFunctionInfoFlags">GIFunctionInfoFlags</link> for the @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page
new file mode 100644
index 0000000..2a7da64
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.function_info_get_property</title>
+<p>Obtain the property associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
+Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or
+%GI_FUNCTION_IS_SETTER have a property set. For other cases,
+%NULL will be returned.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page
new file mode 100644
index 0000000..8ec516c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_symbol"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.function_info_get_symbol</title>
+<p>Obtain the symbol of the function. The symbol is the name of the
+exported function, suitable to be used as an argument to
+g_module_symbol().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
new file mode 100644
index 0000000..2380c62
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.function_info_get_vfunc</title>
+<p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
+Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
+a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page
new file mode 100644
index 0000000..8aedc49
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<page id="GIRepository.function_info_invoke"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.function_info_invoke</title>
+<p>Invokes the function described in @info with the given
+arguments. Note that inout parameters must appear in both
+argument lists. This function uses dlsym() to obtain a pointer
+to the function, so the library or shared object containing the
+described function must either be linked to the caller, or must
+have been g_module_symbol()&lt;!-- --&gt;ed before calling this function.</p><p>error occurred.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page
new file mode 100644
index 0000000..f7c6167
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.info_new"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.info_new</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page
new file mode 100644
index 0000000..c671368
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.info_type_to_string"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.info_type_to_string</title>
+<p>Obtain a string representation of @type</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
new file mode 100644
index 0000000..4f81134
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_find_method</title>
+<p>Obtain a method of the interface type given a @name. %NULL will be
+returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page
new file mode 100644
index 0000000..b431977
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_find_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_find_vfunc</title>
+<p>Locate a virtual function slot with name @name. See the documentation
+for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page
new file mode 100644
index 0000000..2346fde
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_constant"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_constant</title>
+<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page
new file mode 100644
index 0000000..d1d93f1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_iface_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_iface_struct</title>
+<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page
new file mode 100644
index 0000000..bd43e4f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_method</title>
+<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
new file mode 100644
index 0000000..2e20aaf
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_constants"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_constants</title>
+<p>Obtain the number of constants that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page
new file mode 100644
index 0000000..a2769ae
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_methods</title>
+<p>Obtain the number of methods that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page
new file mode 100644
index 0000000..a356a15
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_prerequisites"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_prerequisites</title>
+<p>Obtain the number of prerequisites for this interface type.
+A prerequisites is another interface that needs to be implemented for
+interface, similar to an base class for GObjects.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page
new file mode 100644
index 0000000..2db72af
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_properties"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_properties</title>
+<p>Obtain the number of properties that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page
new file mode 100644
index 0000000..1b66f95
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_signals"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_signals</title>
+<p>Obtain the number of signals that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page
new file mode 100644
index 0000000..12564d7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_n_vfuncs"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_n_vfuncs</title>
+<p>Obtain the number of virtual functions that this interface type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page
new file mode 100644
index 0000000..53fb1c1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_prerequisite"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_prerequisite</title>
+<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page
new file mode 100644
index 0000000..81ba56b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_property</title>
+<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page
new file mode 100644
index 0000000..08e6b25
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_signal</title>
+<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page
new file mode 100644
index 0000000..1ad94ab
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.interface_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.interface_info_get_vfunc</title>
+<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
new file mode 100644
index 0000000..f7b9ba0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.invoke_error_quark"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.invoke_error_quark</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page
new file mode 100644
index 0000000..e71aca5
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.nvokeError"
+      type="topic"
+      style=""
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+  </info>
+  <title>GIRepository.nvokeError</title>
+<p>An error occuring while invoking a function via
+g_function_info_invoke().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page
new file mode 100644
index 0000000..b227493
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_find_method</title>
+<p>Obtain a method of the object type given a @name. %NULL will be
+returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page
new file mode 100644
index 0000000..c112251
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_method_using_interfaces"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_find_method_using_interfaces</title>
+<p>Obtain a method of the object given a @name, searching both the
+object @info and any interfaces it implements.  %NULL will be
+returned if there's no method available with that name.</p><p>Note that this function does *not* search parent classes; you will have
+to chain up if that's desired.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page
new file mode 100644
index 0000000..89a8e1a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_find_signal</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page
new file mode 100644
index 0000000..e041085
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_find_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_find_vfunc</title>
+<p>Locate a virtual function slot with name @name. Note that the namespace
+for virtuals is distinct from that of methods; there may or may not be
+a concrete method associated for a virtual. If there is one, it may
+be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be
+returned.
+See the documentation for g_vfunc_info_get_invoker() for more
+information on invoking virtuals.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page
new file mode 100644
index 0000000..620ce4e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_abstract"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_abstract</title>
+<p>Obtain if the object type is an abstract type, eg if it cannot be
+instantiated</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page
new file mode 100644
index 0000000..a4f8d78
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_class_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_class_struct</title>
+<p>Every <link xref="GObject">GObject</link> has two structures; an instance structure and a class
+structure.  This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page
new file mode 100644
index 0000000..23e9627
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_constant"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_constant</title>
+<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page
new file mode 100644
index 0000000..0262989
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_field</title>
+<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page
new file mode 100644
index 0000000..746f7dc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_fundamental"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_fundamental</title>
+<p>Obtain if the object type is of a fundamental type which is not
+G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page
new file mode 100644
index 0000000..72cdad8
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_get_value_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_get_value_function</title>
+<p>Obtain the symbol name of the function that should be called to convert
+an object instance pointer of this object type to a GValue.
+I's mainly used fundamental types. The type signature for the symbol
+is %GIObjectInfoGetValueFunction, to fetch the function pointer
+see g_object_info_get_get_value_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page
new file mode 100644
index 0000000..e464cd6
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_get_value_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_get_value_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+extract an instance of this object type out of a GValue.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page
new file mode 100644
index 0000000..5f337a0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_interface"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_interface</title>
+<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page
new file mode 100644
index 0000000..db6a2cb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_method</title>
+<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page
new file mode 100644
index 0000000..970ea9d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_constants"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_constants</title>
+<p>Obtain the number of constants that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page
new file mode 100644
index 0000000..87d5467
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_fields</title>
+<p>Obtain the number of fields that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page
new file mode 100644
index 0000000..dc5c351
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_interfaces"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_interfaces</title>
+<p>Obtain the number of interfaces that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page
new file mode 100644
index 0000000..5e92761
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_methods</title>
+<p>Obtain the number of methods that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page
new file mode 100644
index 0000000..872d757
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_properties"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_properties</title>
+<p>Obtain the number of properties that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page
new file mode 100644
index 0000000..6f90d21
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_signals"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_signals</title>
+<p>Obtain the number of signals that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page
new file mode 100644
index 0000000..d6a954a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_n_vfuncs"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_n_vfuncs</title>
+<p>Obtain the number of virtual functions that this object type has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page
new file mode 100644
index 0000000..6c16b66
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_parent"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_parent</title>
+<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page
new file mode 100644
index 0000000..96ca5f7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_property"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_property</title>
+<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page
new file mode 100644
index 0000000..1c795d1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_ref_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_ref_function</title>
+<p>Obtain the symbol name of the function that should be called to ref this
+object type. It's mainly used fundamental types. The type signature for
+the symbol is %GIObjectInfoRefFunction, to fetch the function pointer
+see g_object_info_get_ref_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page
new file mode 100644
index 0000000..f99782a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_ref_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_ref_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+increase the reference count an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page
new file mode 100644
index 0000000..d37bf2d
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_set_value_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_set_value_function</title>
+<p>Obtain the symbol name of the function that should be called to convert
+set a GValue giving an object instance pointer of this object type.
+I's mainly used fundamental types. The type signature for the symbol
+is %GIObjectInfoSetValueFunction, to fetch the function pointer
+see g_object_info_get_set_value_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page
new file mode 100644
index 0000000..1141c31
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_set_value_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_set_value_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+set a GValue given an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page
new file mode 100644
index 0000000..90ba5f6
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_signal</title>
+<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page
new file mode 100644
index 0000000..dc6fa95
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_type_init"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_type_init</title>
+<p>Obtain the function which when called will return the GType
+function for which this object type is registered.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page
new file mode 100644
index 0000000..bff23d2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_type_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_type_name</title>
+<p>Obtain the name of the objects class/type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page
new file mode 100644
index 0000000..1829c34
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_unref_function"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_unref_function</title>
+<p>Obtain the symbol name of the function that should be called to unref this
+object type. It's mainly used fundamental types. The type signature for
+the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer
+see g_object_info_get_unref_function().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
new file mode 100644
index 0000000..35811af
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_unref_function_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_unref_function_pointer</title>
+<p>Obtain a pointer to a function which can be used to
+decrease the reference count an instance of this object type.
+This takes derivation into account and will reversely traverse
+the base classes of this type, starting at the top type.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page
new file mode 100644
index 0000000..a190fe1
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.object_info_get_vfunc"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.object_info_get_vfunc</title>
+<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page
new file mode 100644
index 0000000..3ce24b0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.property_info_get_flags</title>
+<p>Obtain the flags for this property info. See <link xref="GParamFags">GParamFags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page
new file mode 100644
index 0000000..a4ff311
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_ownership_transfer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.property_info_get_ownership_transfer</title>
+<p>Obtain the ownership transfer for this property. See <link xref="GITransfer">GITransfer</link> for more
+information about transfer values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page
new file mode 100644
index 0000000..73d57a7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.property_info_get_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.property_info_get_type</title>
+<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page
new file mode 100644
index 0000000..a2871e0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_g_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.registered_type_info_get_g_type</title>
+<p>Obtain the <link xref="GType">GType</link> for this registered type or G_TYPE_NONE which a special meaning.
+It means that either there is no type information associated with this @info or
+that the shared library which provides the type_init function for this
+ info cannot be called.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page
new file mode 100644
index 0000000..805d7c2
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_type_init"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.registered_type_info_get_type_init</title>
+<p>Obtain the type init function for @info. The type init function is the
+function which will register the GType within the GObject type system.
+Usually this is not called by langauge bindings or applications, use
+g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page
new file mode 100644
index 0000000..cf2e706
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.registered_type_info_get_type_name"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.registered_type_info_get_type_name</title>
+<p>Obtain the type name of the struct within the GObject type system.
+This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page
new file mode 100644
index 0000000..37170c0
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_get_class_closure"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.signal_info_get_class_closure</title>
+<p>Obtain the class closure for this signal if one is set. The class
+closure is a virtual function on the type that the signal belongs to.
+If the signal lacks a closure %NULL will be returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page
new file mode 100644
index 0000000..d54aee4
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.signal_info_get_flags</title>
+<p>Obtain the flags for this signal info. See <link xref="GSignalFlags">GSignalFlags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page
new file mode 100644
index 0000000..7c4faab
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.signal_info_true_stops_emit"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.signal_info_true_stops_emit</title>
+<p>Obtain if the returning true in the signal handler will
+stop the emission of the signal.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page
new file mode 100644
index 0000000..5a9a875
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_find_method</title>
+<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page
new file mode 100644
index 0000000..fe2d2f9
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_alignment"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_alignment</title>
+<p>Obtain the required alignment of the structure.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page
new file mode 100644
index 0000000..8d07004
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_field</title>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page
new file mode 100644
index 0000000..2664e57
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_method</title>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page
new file mode 100644
index 0000000..b9cb463
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_n_fields</title>
+<p>Obtain the number of fields this structure has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
new file mode 100644
index 0000000..8c80798
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_n_methods</title>
+<p>Obtain the number of methods this structure has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page
new file mode 100644
index 0000000..28fdd9c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_get_size</title>
+<p>Obtain the total size of the structure.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page
new file mode 100644
index 0000000..1e09a1e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_is_foreign"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_is_foreign</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page
new file mode 100644
index 0000000..01e52ef
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.struct_info_is_gtype_struct"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.struct_info_is_gtype_struct</title>
+<p>Return true if this structure represents the "class structure" for some
+<link xref="GObject">GObject</link> or <link xref="GInterface">GInterface</link>.  This function is mainly useful to hide this kind of structure
+from generated public APIs.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page
new file mode 100644
index 0000000..9e5297c
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_fixed_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_array_fixed_size</title>
+<p>Obtain the fixed array size of the type. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page
new file mode 100644
index 0000000..94cec6e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_length"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_array_length</title>
+<p>Obtain the array length of the type. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page
new file mode 100644
index 0000000..a8fb76e
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_array_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_array_type</title>
+<p>Obtain the array type for this type. See <link xref="GIArrayType">GIArrayType</link> for a list of
+possible values. If the type tag of this type is not array, -1 will be
+returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page
new file mode 100644
index 0000000..63b1914
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_interface"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_interface</title>
+<p>For types which have <link xref="GI_TYPE_TAG_INTERFACE">GI_TYPE_TAG_INTERFACE</link> such as GObjects and boxed values,
+this function returns full information about the referenced type.  You can then
+inspect the type of the returned <link xref="GIBaseInfo">GIBaseInfo</link> to further query whether it is
+a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page
new file mode 100644
index 0000000..1cc7d67
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_param_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_param_type</title>
+<p>Obtain the parameter type @n.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page
new file mode 100644
index 0000000..73baf7a
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_get_tag"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_get_tag</title>
+<p>Obtain the type tag for the type. See <link xref="GITypeTag">GITypeTag</link> for a list
+of type tags.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page
new file mode 100644
index 0000000..ddc7f67
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_is_pointer"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_is_pointer</title>
+<p>Obtain if the type is passed as a reference.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page
new file mode 100644
index 0000000..ad8e22b
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_info_is_zero_terminated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_info_is_zero_terminated</title>
+<p>Obtain if the last element of the array is %NULL. The type tag must be a
+<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page
new file mode 100644
index 0000000..e6df08f
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.type_tag_to_string"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.type_tag_to_string</title>
+<p>Obtain a string representation of @type</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page
new file mode 100644
index 0000000..d79cbe3
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_find_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_find_method</title>
+<p>Obtain the type information for method named @name.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page
new file mode 100644
index 0000000..67f1343
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_alignment"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_alignment</title>
+<p>Obtain the required alignment of the union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page
new file mode 100644
index 0000000..c52fe72
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_discriminator</title>
+<p>Obtain discriminator value assigned for n-th union field, i.e. n-th
+union field is the active one if discriminator contains this
+constant.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page
new file mode 100644
index 0000000..848b453
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_discriminator_offset</title>
+</page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page
new file mode 100644
index 0000000..09f7f30
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_discriminator_type"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_discriminator_type</title>
+<p>Obtain the type information of the union discriminator.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
new file mode 100644
index 0000000..3dd1511
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_field"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_field</title>
+<p>Obtain the type information for field with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page
new file mode 100644
index 0000000..efaa9dc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_method"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_method</title>
+<p>Obtain the type information for method with specified index.</p><p>when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page
new file mode 100644
index 0000000..1b9cd57
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_n_fields"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_n_fields</title>
+<p>Obtain the number of fields this union has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page
new file mode 100644
index 0000000..ab0e807
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_n_methods"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_n_methods</title>
+<p>Obtain the number of methods this union has.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page
new file mode 100644
index 0000000..daf0281
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_get_size"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_get_size</title>
+<p>Obtain the total size of the union.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page
new file mode 100644
index 0000000..d795162
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<page id="GIRepository.union_info_is_discriminated"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.union_info_is_discriminated</title>
+<p>Return true if this union contains discriminator field.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page
new file mode 100644
index 0000000..0ecb0cb
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.value_info_get_value"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.value_info_get_value</title>
+<p>Obtain the enumeration value of the <link xref="GIValueInfo">GIValueInfo</link>.</p><p>as a 32-bit signed or unsigned value. The use of gint64 as the
+return type is to allow both.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page
new file mode 100644
index 0000000..4569fe7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_address"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_get_address</title>
+<p>This method will look up where inside the type struct of @implementor_gtype
+is the implementation for @info.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page
new file mode 100644
index 0000000..5b2dfb7
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_flags"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_get_flags</title>
+<p>Obtain the flags for this virtual function info. See <link xref="GIVFuncInfoFlags">GIVFuncInfoFlags</link> for
+more information about possible flag values.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page
new file mode 100644
index 0000000..042bbbc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_invoker"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_get_invoker</title>
+<p>If this virtual function has an associated invoker method, this
+method will return it.  An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page
new file mode 100644
index 0000000..9c21929
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_offset"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_get_offset</title>
+<p>Obtain the offset of the function pointer in the class struct. The value
+0xFFFF indicates that the struct offset is unknown.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page
new file mode 100644
index 0000000..d21acdc
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_get_signal"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_get_signal</title>
+<p>Obtain the signal for the virtual function if one is set.
+The signal comes from the object or interface to which
+this virtual function belongs.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page
new file mode 100644
index 0000000..f3b8533
--- /dev/null
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<page id="GIRepository.vfunc_info_invoke"
+      type="topic"
+      style="function"
+      xmlns="http://projectmallard.org/1.0/";
+      xmlns:ui="http://projectmallard.org/experimental/ui/";>
+  <info>
+    <link type="guide" xref="index" group="function"/>
+  </info>
+  <title>GIRepository.vfunc_info_invoke</title>
+<p>Invokes the function described in @info with the given
+arguments. Note that inout parameters must appear in both
+argument lists.</p><p>error occurred.</p></page>
diff --git a/tests/doctool/GIRepository-2.0-Python-expected.page b/tests/doctool/GIRepository-2.0-Python-expected/index.page
similarity index 100%
rename from tests/doctool/GIRepository-2.0-Python-expected.page
rename to tests/doctool/GIRepository-2.0-Python-expected/index.page
diff --git a/tests/doctool/Makefile.am b/tests/doctool/Makefile.am
index 801eefb..21d1e7a 100644
--- a/tests/doctool/Makefile.am
+++ b/tests/doctool/Makefile.am
@@ -4,23 +4,23 @@ GIRepository-2.0.gir:
 	cp ../../GIRepository-2.0.gir .
 
 GIRS = GIRepository-2.0.gir
-CHECKXML = $(GIRS:.gir=-C.page.check) $(GIRS:.gir=-Python.page.check)
-MALLARDFILES = $(GIRS:.gir=-C.page) $(GIRS:.gir=-Python.page)
-EXPECTEDMALLARDFILES = $(MALLARDFILES:.page=-expected.page)
-CLEANFILES = $(MALLARD_FILES)
-BUILT_SOURCES = $(MALLARD_FILES)
-EXTRA_DIST = $(EXPECTEDMALLARDFILES)
+CHECK_TARGETS = $(GIRS:.gir=-C.page.check) $(GIRS:.gir=-Python.page.check)
+MALLARD_DIRS = $(GIRS:.gir=-C) $(GIRS:.gir=-Python)
+EXPECTED_MALLARD_DIRS = $(MALLARD_DIRS:=-expected)
+CLEANFILES = $(MALLARD_DIRS)
+BUILT_SOURCES = $(MALLARD_DIRS)
+EXTRA_DIST = $(EXPECTED_MALLARD_DIRS)
 
-%-C.page: %.gir
-	$(INTROSPECTION_DOCTOOL) --language C --format mallard $*.gir -o $*-C.page && echo "  GEN  $*-C.page"
+%-C: %.gir
+	mkdir $*-C && $(INTROSPECTION_DOCTOOL) --language C --format mallard $*.gir -o $*-C/index.page && echo "  GEN  $*-C/index.page"
 
-%-Python.page: %.gir
-	$(INTROSPECTION_DOCTOOL) --language Python --format mallard $*.gir -o $*-Python.page && echo "  GEN  $*-Python.page"
+%-Python: %.gir
+	mkdir $*-Python && $(INTROSPECTION_DOCTOOL) --language Python --format mallard $*.gir -o $*-Python/index.page && echo "  GEN  $*-Python/index.page"
 
-%-C.page.check: %-C.page
-	@diff -u -U 10 $(srcdir)/$*-C-expected.page $*-C.page && echo "  TEST  $*-C.page"
+%-C.page.check: %-C
+	@diff -u -U 10 $(srcdir)/$*-C-expected $*-C && echo "  TEST  $*-C"
 
-%-Python.page.check: %-Python.page
-	@diff -u -U 10 $(srcdir)/$*-Python-expected.page $*-Python.page && echo "  TEST  $*-Python.page"
+%-Python.page.check: %-Python
+	@diff -u -U 10 $(srcdir)/$*-Python-expected $*-Python && echo "  TEST  $*-Python"
 
-check-local: $(CHECKXML)
+check-local: $(CHECK_TARGETS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]