fixed bug with autodoc, manual updated with table description and tests description
This commit is contained in:
parent
b5dea7456b
commit
9cd379b800
3 changed files with 52 additions and 8 deletions
|
|
@ -1257,13 +1257,13 @@ public:
|
|||
//
|
||||
// otherwise, put it all on a single line
|
||||
//
|
||||
// All comments translated from doxygen are given as raw stringr (prefix "r"),
|
||||
// All comments translated from doxygen are given as raw strings (prefix "r"),
|
||||
// because '\' is used often in comments, but may break Python module from
|
||||
// loading. For example, in doxy comment one may write path in quotes:
|
||||
//
|
||||
// This is path to file "C:\x\file.txt"
|
||||
//
|
||||
// Python will no load the module with such comment becaue of illegal
|
||||
// Python will no load the module with such comment because of illegal
|
||||
// escape '\x'. '\' may additionally appear in verbatim or htmlonly sections
|
||||
// of doxygen doc, Latex expressions, ...
|
||||
if (have_auto && have_ds) { // Both autodoc and docstring are present
|
||||
|
|
@ -1281,7 +1281,7 @@ public:
|
|||
doc = NewStringf("%s%s%s", triple_double, autodoc, triple_double);
|
||||
} else {
|
||||
doc = NewString("");
|
||||
Printv(doc, "r", triple_double, "\n", pythoncode(autodoc, indent), indent, triple_double, NIL);
|
||||
Printv(doc, triple_double, "\n", pythoncode(autodoc, indent), indent, triple_double, NIL);
|
||||
}
|
||||
} else if (have_doxygen) { // the lowest priority
|
||||
doc = NewString("");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue