Basic support for titles within tool help
authorTeemu Murtola <teemu.murtola@gmail.com>
Wed, 27 May 2015 10:12:35 +0000 (13:12 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 4 Jun 2015 03:32:13 +0000 (05:32 +0200)
commitb656ebdb6b1049200d265c01ca1aa356c6f5f97a
treead022000cdccfdf9a104677e5f044fb4ec3ef49d
parent54e67f2eb143108a860acc34a41e52cfc138dad5
Basic support for titles within tool help

Preserve reStructuredText title formatting within tool help texts when
printing to console.  For now, manual care is needed to properly nest
the sections in the rst help export (which means that the first
subsection needs to use an underline of ^'s).  This allows removal of
all remaining [BR] tags, improving the HTML help.

Remove extra indentation from gmx wham bullet lists; they result in
unnecessary indentation in the HTML output that looks bad.

Fix formatting of the known issues bullet list by just using the
existing formatting engine, now that bullet lists are properly
supported.

Change-Id: I38a4f442f590515dde724c0cf60f0a862dc9cde7
src/gromacs/commandline/cmdlinehelpwriter.cpp
src/gromacs/gmxana/gmx_anaeig.c
src/gromacs/gmxana/gmx_spatial.c
src/gromacs/gmxana/gmx_wham.cpp
src/gromacs/onlinehelp/helpwritercontext.cpp
src/gromacs/onlinehelp/tests/helpwritercontext.cpp
src/gromacs/onlinehelp/tests/refdata/HelpWriterContextTest_FormatsTitles.xml [new file with mode: 0644]