From a1ae3a4344b0ded88ee490ae0cbe2871dfcdf619 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin
@@ -201,21 +202,46 @@ assigned to anything.
-There is a switch '-doxygen' in every module that supports converting -documentation comments. Some comments in some target languages can be -manually overridden by specific swig's features, -like feature:docstring or feature:autodoc, in this cases -Doxygen comments have lowest priority. -
--If Doxygen parsing is switched off, then all the comments are stripped -out in parser and all the resources used by comment parser and -translator are freed. +Doxygen comments translation is disabled by default and needs to be explicitly +enabled using the command line -doxygen switch for the languages that +do support it (currently Java and Python).
-+Translation of Doxygen comments is influenced by the following %feature directives: +
+ ++Turns off translation of Doxygen comments to the target language syntax: the +original comment will be copied to the output unchanged. This is useful if you +want to use Doxygen itself to generate documentation for the target language +instead of the corresponding language tool (javadoc, sphinx, +...). +
+ + ++Turn off automatic link-objects translation. +
+ + ++Turn off stripping of @param and @tparam +Doxygen commands if the parameter is not found in the function signature. +
+ + +
@@ -330,12 +356,6 @@ you don't want such behaviour, you could turn this off by using
'doxygen:nolinktranslate' feature. Also all '\param' and '\tparam'
commands are stripped out, if specified parameter is not present in
function. Use 'doxygen:nostripparams' to avoid.
-
-If you intend to use resulting proxy files with Doxygen docs
-generator, rather than Javadoc, you may want to turn off translator
-completely (doxygen:notranslate feature). Then SWIG will just copy
-the comments to the proxy file and reformat them if needed, but all
-the comment content will be left as is.
@@ -346,33 +366,6 @@ directives):
--
| doxygen:notranslate | --Turn off the whole Doxygen translator. -The Doxygen comment will be attached to the right node, -but all the commands and text will be left as-is - | -
| doxygen:nolinkranslate | -Turn off automatic link-objects translation | -
| doxygen:nostripparams | --Turn off stripping of @param and @tparam -Doxygen commands if such parameter is not found - | -
-Pydoc translator features summary (see %feature directives):
-
-
-
-
| doxygen:notranslate | --Turn off the whole Doxygen translator. -The Doxygen comment will be attached to the right node, -but all the commands and text will be left as-is - | -