[pangomm] Use parametric Doxygen alias @since{m,n}



commit 3b2e263d425772e3bbd1dace52ce6ec2537e85d2
Author: Daniel Elstner <danielk openismus com>
Date:   Tue Aug 18 18:10:42 2009 +0200

    Use parametric Doxygen alias @since{m,n}
    
    * docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias
    @since{major,minor} to replace the old @newin?p?* aliases which had
    to be defined manually for every version number used.
    * pango/src/*.hg: Change all uses of @newin?p?* to @since{m,n}.

 ChangeLog                  |    9 +++++++++
 docs/reference/Doxyfile.in |   11 +----------
 pango/src/language.hg      |    2 +-
 pango/src/layout.hg        |    2 +-
 4 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8831694..c5214da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2009-08-18  Daniel Elstner  <danielk openismus com>
+
+	Use parametric Doxygen alias @since{m,n}
+
+	* docs/reference/Doxyfile.in (ALIASES): Define a parametrized alias
+	@since{major,minor} to replace the old @newin?p?* aliases which had
+	to be defined manually for every version number used.
+	* pango/src/*.hg: Change all uses of @newin?p?* to @since{m,n}.
+
 2009-08-17  Daniel Elstner  <danielk openismus com>
 
 	Define PANGOMM_BUILD macro during build
diff --git a/docs/reference/Doxyfile.in b/docs/reference/Doxyfile.in
index 6600864..312837f 100644
--- a/docs/reference/Doxyfile.in
+++ b/docs/reference/Doxyfile.in
@@ -37,16 +37,7 @@ MULTILINE_CPP_IS_BRIEF = NO
 INHERIT_DOCS           = YES
 SEPARATE_MEMBER_PAGES  = NO
 TAB_SIZE               = 8
-ALIASES                = "newin2p2=\xrefitem newin2p2s \"Since pangomm 2.2\" \"New API in pangomm 2.2\" \n" \
-                         "newin2p4=\xrefitem newin2p4s \"Since pangomm 2.4\" \"New API in pangomm 2.4\" \n" \
-                         "newin2p6=\xrefitem newin2p6s \"Since pangomm 2.6\" \"New API in pangomm 2.6\" \n" \
-                         "newin2p8=\xrefitem newin2p8s \"Since pangomm 2.8\" \"New API in pangomm 2.8\" \n" \
-                         "newin2p10=\xrefitem newin2p10s \"Since pangomm 2.10\" \"New API in pangomm 2.10\" \n" \
-                         "newin2p12=\xrefitem newin2p12s \"Since pangomm 2.12\" \"New API in pangomm 2.12\" \n" \
-                         "newin2p14=\xrefitem newin2p14s \"Since pangomm 2.14\" \"New API in pangomm 2.14\" \n" \
-                         "newin2p16=\xrefitem newin2p16s \"Since pangomm 2.16\" \"New API in pangomm 2.16\" \n" \
-                         "newin2p18=\xrefitem newin2p18s \"Since pangomm 2.18\" \"New API in pangomm 2.18\" \n" \
-                         "newin2p20=\xrefitem newin2p20s \"Since pangomm 2.20\" \"New API in pangomm 2.20\" \n"
+ALIASES                = "since{2}=\xrefitem since_\1_\2 \"Since @PACKAGE_NAME@ \1.\2\" \"New API in @PACKAGE_NAME@ \1.\2\""
 OPTIMIZE_OUTPUT_FOR_C  = NO
 OPTIMIZE_OUTPUT_JAVA   = NO
 OPTIMIZE_FOR_FORTRAN   = NO
diff --git a/pango/src/language.hg b/pango/src/language.hg
index 35d80ef..d6781d6 100644
--- a/pango/src/language.hg
+++ b/pango/src/language.hg
@@ -66,7 +66,7 @@ public:
    *
    * @result A container of Script values.
    *
-   * @newin2p14
+   * @since{2,14}
    */
   Glib::ArrayHandle<Script> get_scripts() const;
   _IGNORE(pango_language_get_scripts)
diff --git a/pango/src/layout.hg b/pango/src/layout.hg
index 40bdae8..0dce43e 100644
--- a/pango/src/layout.hg
+++ b/pango/src/layout.hg
@@ -253,7 +253,7 @@ public:
    *
    * @param context A Cairo context.
    *
-   * @newin2p16
+   * @since{2,16}
    */
   void show_in_cairo_context(const Cairo::RefPtr<Cairo::Context>& context);
 };



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