Doxygen for test gen support#989
Conversation
6457873 to
bfc7f57
Compare
bfc7f57 to
f305de6
Compare
|
Before this gets merged, I need to add the small script update from #1005. This won't affect the docs at all, just the conversion script. |
|
This has now been updated with the fix from yesterday evening. |
allredj
left a comment
There was a problem hiding this comment.
We might want to think for a bit before we introduce a new format that will haunt us until the end of time.
Personally, I find:
-/*******************************************************************\
-
-Function: string_constraint_generatort::add_default_axioms
-
- Inputs:
- s - a string expression
-
- Outputs: a string expression that is linked to the argument through
- axioms that are added to the list
-
- Purpose: adds standard axioms about the length of the string and
- its content:
- * its length should be positive
- * it should not exceed max_string_length
- * if force_printable_characters is true then all characters
- should belong to the range of ASCII characters between ' ' and '~'
-
-
\*******************************************************************/
to be much more readable than:
+/// adds standard axioms about the length of the string and its content: * its
+/// length should be positive * it should not exceed max_string_length * if
+/// force_printable_characters is true then all characters should belong to the
+/// range of ASCII characters between ' ' and '~'
+/// \param s: a string expression
+/// \return a string expression that is linked to the argument through axioms
+/// that are added to the list
It's not a problem with doxygen itself, but rather of the proposed typesetting. Although I like the compactness, will we have any freedom in arranging how our documentation looks in the code? I usually spend much more time in the code than on the doxygen-generated pages, so I believe that how the documentation looks in the code is still important. Or are there IDE tweaks I don't know about? What are your thoughts?
BTW, the python script looks good. I have nothing to say about that.
|
I agree, but I also think that this is a bit of a corner-case example - the conversion script can handle custom formatting in You could even add an empty line (still with
|
allredj
left a comment
There was a problem hiding this comment.
OK then! Thanks for the great job!
Reformats the documentation in test-gen-support to be doxygen-compatible. Similar to #869, but targets test-gen-support instead of master.