]> Chaos Git - corbenik/ctrulib.git/commitdiff
added examples to documentation
authorLectem <lectem@gmail.com>
Sun, 28 Jun 2015 08:52:34 +0000 (10:52 +0200)
committerLectem <lectem@gmail.com>
Sun, 28 Jun 2015 12:13:57 +0000 (14:13 +0200)
libctru/Doxyfile
libctru/include/3ds.h

index 3a3be9ff13099f0886348b776f88043052d5a4c5..f109dd9a8d9e8dc322e1dd7f7a70e778d78db153 100644 (file)
@@ -743,7 +743,7 @@ WARN_LOGFILE           =
 # spaces.
 # Note: If this tag is empty the current directory is searched.
 
-INPUT                  =
+INPUT                  = source include
 
 # This tag can be used to specify the character encoding of the source files
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@@ -763,7 +763,7 @@ INPUT_ENCODING         = UTF-8
 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
 # *.qsf, *.as and *.js.
 
-FILE_PATTERNS          =
+FILE_PATTERNS          = *.h *.c *.cpp *.s
 
 # The RECURSIVE tag can be used to specify whether or not subdirectories should
 # be searched for input files as well.
@@ -811,7 +811,7 @@ EXCLUDE_SYMBOLS        =
 # that contain example code fragments that are included (see the \include
 # command).
 
-EXAMPLE_PATH           =
+EXAMPLE_PATH           = ../examples
 
 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
index 4b213a59890fb8516b4aa566d6d89c067a44917f..d43bfe59159bd255e6cee5f2009023b9e22905f5 100644 (file)
@@ -49,3 +49,24 @@ extern "C" {
 #ifdef __cplusplus
 }
 #endif
+/**
+ * @example app_launch/source/main.c
+ * @example audio/mic/source/main.c
+ * @example get_system_language/source/main.c
+ * @example gpu/source/main.c
+ * @example graphics/bitmap/24bit-color/source/main.c
+ * @example graphics/printing/hello-world/source/main.c
+ * @example graphics/printing/both-screen-text/source/main.c
+ * @example graphics/printing/colored-text/source/main.c
+ * @example graphics/printing/multiple-windows-text/source/main.c
+ * @example http/source/main.c
+ * @example input/read-controls/source/main.c
+ * @example input/touch-screen/source/main.c
+ * @example libapplet_launch/source/main.c
+ * @example mvd/source/main.c
+ * @example qtm/source/main.c
+ * @example sdmc/source/main.c
+ * @example threads/event/source/main.c
+ * @example time/rtc/source/main.c
+ */
\ No newline at end of file