Add support for tutorial links to makerst.py
Also change the <tutorials> structure to make use of individual <link> tags
This commit is contained in:
@@ -1280,11 +1280,10 @@ Error EditorHelp::_goto_desc(const String &p_class, int p_vscr) {
|
||||
class_desc->add_newline();
|
||||
// class_desc->add_newline();
|
||||
|
||||
Vector<String> tutorials = cd.tutorials.split_spaces();
|
||||
if (tutorials.size() != 0) {
|
||||
if (cd.tutorials.size() != 0) {
|
||||
|
||||
for (int i = 0; i < tutorials.size(); i++) {
|
||||
String link = tutorials[i];
|
||||
for (int i = 0; i < cd.tutorials.size(); i++) {
|
||||
String link = cd.tutorials[i];
|
||||
String linktxt = link;
|
||||
int seppos = linktxt.find("//");
|
||||
if (seppos != -1) {
|
||||
|
||||
Reference in New Issue
Block a user