added text legend to port bindings
adds _blank target to link
ensure documentation_to_html returns a string
[fixes #77117008]
resolves #294