diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | docs/reference/Doxyfile.in | 6 | ||||
-rw-r--r-- | tools/pm/DocsParser.pm | 8 |
3 files changed, 20 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-11-30 Murray Cumming <murrayc@murrayc.com> + + * docs/reference/Doxyfile.in: Define the @newin aliases, + as in gtkmm. + * tools/pm/DocsParser.pm: Convert Since: in gtk-doc + text to @newin for our doxygen docs. + 2005-11-29 Murray Cumming <murrayc.com> * build_shared/Makefile_build.am_fragment: diff --git a/docs/reference/Doxyfile.in b/docs/reference/Doxyfile.in index 331bfc3f..01268692 100644 --- a/docs/reference/Doxyfile.in +++ b/docs/reference/Doxyfile.in @@ -147,7 +147,11 @@ TAB_SIZE = 8 # will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. -ALIASES = +ALIASES = "newin2p2=\xrefitem newin2p2s \"Since glibmm 2.2\" \"New API since glibmm 2.2\"" +ALIASES += "newin2p4=\xrefitem newin2p4s \"Since glibmm 2.4\" \"New API since glibmm 2.4\"" +ALIASES += "newin2p6=\xrefitem newin2p6s \"Since glibmm 2.6\" \"New API since glibmm 2.6\"" +ALIASES += "newin2p8=\xrefitem newin2p8s \"Since glibmm 2.8\" \"New API since glibmm 2.8\"" +ALIASES += "newin2p10=\xrefitem newin2p10s \"Since glibmm 2.10\" \"New API since glibmm 2.10\"" # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources # only. Doxygen will then generate output that is more tailored for C. diff --git a/tools/pm/DocsParser.pm b/tools/pm/DocsParser.pm index b2048273..ef1f8be3 100644 --- a/tools/pm/DocsParser.pm +++ b/tools/pm/DocsParser.pm @@ -357,6 +357,14 @@ sub convert_tags_to_doxygen($) # Remove all para tags (from tmpl sgml files). s"</?para>""g; + # Use our doxgen since/newin tags: + # TODO: Do this generically, regardless of the number: + s"Since: 2\.2"\@newin2p2"mg; + s"Since: 2\.4"\@newin2p4"mg; + s"Since: 2\.6"\@newin2p6"mg; + s"Since: 2\.8"\@newin2p8"mg; + s"Since: 2\.10"\@newin2p10"mg; + s"\b->\b"->"g; # Doxygen is too dumb to handle — |