mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 00:48:53 +02:00
docs: Start stanzas with a single paragraph
When rendering the contents of the GLib documentation stored inside the introspection data, a common behaviour is to take the first paragraph as a summary of the symbol being documented. The documentation is assumed to be in Markdown format, which means: - paragraphs must be separated by newlines - lines that have an indentation of four or more spaces are considered code blocks - lines that start with a `#` are considered titles This means we need to slightly tweak the documentation in our sources to ensure that it can be rendered appropriately by tools that are not gtk-doc. See issue: #2365
This commit is contained in:
@@ -890,9 +890,10 @@ value_param_lcopy_value (const GValue *value,
|
||||
* GParamSpecPool:
|
||||
*
|
||||
* A #GParamSpecPool maintains a collection of #GParamSpecs which can be
|
||||
* quickly accessed by owner and name. The implementation of the #GObject property
|
||||
* system uses such a pool to store the #GParamSpecs of the properties all object
|
||||
* types.
|
||||
* quickly accessed by owner and name.
|
||||
*
|
||||
* The implementation of the #GObject property system uses such a pool to
|
||||
* store the #GParamSpecs of the properties all object types.
|
||||
*/
|
||||
struct _GParamSpecPool
|
||||
{
|
||||
@@ -1401,10 +1402,12 @@ default_values_cmp (GParamSpec *pspec,
|
||||
* @name: 0-terminated string used as the name of the new #GParamSpec type.
|
||||
* @pspec_info: The #GParamSpecTypeInfo for this #GParamSpec type.
|
||||
*
|
||||
* Registers @name as the name of a new static type derived from
|
||||
* #G_TYPE_PARAM. The type system uses the information contained in
|
||||
* the #GParamSpecTypeInfo structure pointed to by @info to manage the
|
||||
* #GParamSpec type and its instances.
|
||||
* Registers @name as the name of a new static type derived
|
||||
* from #G_TYPE_PARAM.
|
||||
*
|
||||
* The type system uses the information contained in the #GParamSpecTypeInfo
|
||||
* structure pointed to by @info to manage the #GParamSpec type and its
|
||||
* instances.
|
||||
*
|
||||
* Returns: The new type identifier.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user