From fb69dfd8660a5f165d5b5d3ce5118a6ff62df7e6 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 4 Feb 2018 19:07:33 +0100 Subject: [PATCH] Fixed HTML version of class documentation - links to methods have not been working properly. --- src/lay/lay/layGSIHelpProvider.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lay/lay/layGSIHelpProvider.cc b/src/lay/lay/layGSIHelpProvider.cc index 9a49c26db..8fbfaedc4 100644 --- a/src/lay/lay/layGSIHelpProvider.cc +++ b/src/lay/lay/layGSIHelpProvider.cc @@ -1195,10 +1195,6 @@ GSIHelpProvider::produce_class_doc (const std::string &cls) const pydoc = pya::PythonInterpreter::instance ()->python_doc (i->second.first); } - os << "" - << "first) << "\"/>" - << "first) << "\" name=\"" << escape_xml (cls) << "#" << escape_xml (i->first) << "\"/>" << std::endl; - os << ""; if (i->first != prev_title) { int rows = 0; @@ -1212,6 +1208,10 @@ GSIHelpProvider::produce_class_doc (const std::string &cls) const } os << ""; + os << "" + << "first) << "\"/>" + << "first) << "\" name=\"" << escape_xml (cls) << "#" << escape_xml (i->first) << "\"/>" << std::endl; + os << "

" << tl::to_string (QObject::tr ("Signature")) << ": "; std::string attr = method_attributes (i->second.first, method_doc); if (! attr.empty ()) {