const t_sandr sandrTty[] = {
{ "\\*", "*" },
{ "\\=", "=" },
+ { "[REF]", "" },
+ { "[ref]", "" },
{ "[TT]", "" },
{ "[tt]", "" },
{ "[BB]", "" },
replacement = repall(displayName, sandrTty);
break;
case eHelpOutputFormat_Rst:
- replacement = formatString(
- ":doc:`%s <%s>`", repall(displayName, sandrTty).c_str(),
- targetName.c_str());
+ replacement = targetName;
break;
default:
GMX_RELEASE_ASSERT(false, "Output format not implemented for links");
{
result = repall(result, sandrRst);
result = replaceLinks(result);
+ result = replaceAll(result, "[REF]", "");
+ result = replaceAll(result, "[ref]", "");
return wrapper->wrap(result);
}
default: