GShell: move docs from tmpl to .c
authorRyan Lortie <desrt@desrt.ca>
Sun, 31 Jan 2010 03:15:35 +0000 (22:15 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sun, 31 Jan 2010 03:15:50 +0000 (22:15 -0500)
docs/reference/glib/tmpl/.gitignore
docs/reference/glib/tmpl/shell.sgml [deleted file]
glib/gshell.c

index 1edcd06..fd5ae42 100644 (file)
@@ -5,5 +5,6 @@ gvarianttype.sgml
 hash_tables.sgml
 option.sgml
 random_numbers.sgml
+shell.sgml
 threads.sgml
 timers.sgml
diff --git a/docs/reference/glib/tmpl/shell.sgml b/docs/reference/glib/tmpl/shell.sgml
deleted file mode 100644 (file)
index a1c7979..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-Shell-related Utilities
-
-<!-- ##### SECTION Short_Description ##### -->
-shell-like commandline handling
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### ENUM GShellError ##### -->
-<para>
-Error codes returned by shell functions.
-</para>
-
-@G_SHELL_ERROR_BAD_QUOTING: Mismatched or otherwise mangled quoting.
-@G_SHELL_ERROR_EMPTY_STRING: String to be parsed was empty.
-@G_SHELL_ERROR_FAILED: Some other error.
-
-<!-- ##### MACRO G_SHELL_ERROR ##### -->
-<para>
-Error domain for shell functions. Errors in this domain will
-be from the #GShellError enumeration. See #GError for information on
-error domains.
-</para>
-
-
-
-<!-- ##### FUNCTION g_shell_parse_argv ##### -->
-<para>
-
-</para>
-
-@command_line: 
-@argcp: 
-@argvp: 
-@error: 
-@Returns: 
-
-
-<!-- ##### FUNCTION g_shell_quote ##### -->
-<para>
-
-</para>
-
-@unquoted_string: 
-@Returns: 
-
-
-<!-- ##### FUNCTION g_shell_unquote ##### -->
-<para>
-
-</para>
-
-@quoted_string: 
-@error: 
-@Returns: 
-
-
index 711cdee..d3b76f4 100644 (file)
 #include "glibintl.h"
 #include "galias.h"
 
+/**
+ * SECTION: shell
+ * @title: Shell-related Utilities
+ * @short_description: shell-like commandline handling
+ **/
+
+/**
+ * G_SHELL_ERROR:
+ *
+ * Error domain for shell functions. Errors in this domain will be from
+ * the #GShellError enumeration. See #GError for information on error
+ * domains.
+ **/
+
+/**
+ * GShellError:
+ * @G_SHELL_ERROR_BAD_QUOTING: Mismatched or otherwise mangled quoting.
+ * @G_SHELL_ERROR_EMPTY_STRING: String to be parsed was empty.
+ * @G_SHELL_ERROR_FAILED: Some other error.
+ *
+ * Error codes returned by shell functions.
+ **/
 GQuark
 g_shell_error_quark (void)
 {