Improve lists in user guide for selections
authorTeemu Murtola <teemu.murtola@gmail.com>
Sun, 24 May 2015 03:33:08 +0000 (06:33 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 28 May 2015 12:25:24 +0000 (14:25 +0200)
commitcb8f1bd87724dd5fd4d21bb15e7f6a543e0d7dcd
tree745230875152299dd900f9c86f32a56706060af3
parent09eba94bf6fa3a49d2f065c7f3e12f6addcd6762
Improve lists in user guide for selections

- Support enumerated list formatting in console output to make it
  possible to use reStructuredText enumerated lists in help texts.
- Make the keyword list use a bullet list for the keyword groups,
  providing some visual structure for the HTML output.  The extra stars
  do not hurt in the console output, either, but changed the extra help
  indicator to be a + instead of * to reduce confusion with these other
  stars.

Change-Id: I4d5063d4f117a31ea31d8d78cd799dfbd0f1eac8
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/onlinehelp/tests/helpwritercontext.cpp
src/gromacs/onlinehelp/tests/refdata/HelpWriterContextTest_FormatsBulletList.xml
src/gromacs/onlinehelp/tests/refdata/HelpWriterContextTest_FormatsEnumeratedList.xml [new file with mode: 0644]
src/gromacs/selection/selhelp.cpp