You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Added a "title" attribute for the link tag in the docs xml
This commit is contained in:
@@ -480,8 +480,8 @@ void EditorHelp::_update_doc() {
|
||||
class_desc->add_newline();
|
||||
|
||||
for (int i = 0; i < cd.tutorials.size(); i++) {
|
||||
const String link = DTR(cd.tutorials[i]);
|
||||
String linktxt = link;
|
||||
const String link = DTR(cd.tutorials[i].link);
|
||||
String linktxt = (cd.tutorials[i].title.empty()) ? link : DTR(cd.tutorials[i].title);
|
||||
const int seppos = linktxt.find("//");
|
||||
if (seppos != -1) {
|
||||
linktxt = link.right(seppos + 2);
|
||||
|
||||
Reference in New Issue
Block a user