|
@@ -187,6 +187,11 @@ sub handle_example_dir {
|
|
$description =~ s/\s+\Z//;
|
|
$description =~ s/\s+\Z//;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ my $short_description = "$description";
|
|
|
|
+ $short_description =~ s/\<br\/\>\n.*//gms;
|
|
|
|
+ $short_description =~ s/\A\s+//;
|
|
|
|
+ $short_description =~ s/\s+\Z//;
|
|
|
|
+
|
|
do_mkdir($dst);
|
|
do_mkdir($dst);
|
|
do_copy($jssrc, $jsdst);
|
|
do_copy($jssrc, $jsdst);
|
|
do_copy($wasmsrc, $wasmdst);
|
|
do_copy($wasmsrc, $wasmdst);
|
|
@@ -238,6 +243,7 @@ sub handle_example_dir {
|
|
s/\@example_name\@/$example/g;
|
|
s/\@example_name\@/$example/g;
|
|
s/\@javascript_file\@/$jsfname/g;
|
|
s/\@javascript_file\@/$jsfname/g;
|
|
s/\@htmlified_source_code\@/$htmlified_source_code/g;
|
|
s/\@htmlified_source_code\@/$htmlified_source_code/g;
|
|
|
|
+ s/\@short_description\@/$short_description/g;
|
|
s/\@description\@/$description/g;
|
|
s/\@description\@/$description/g;
|
|
s/\@preview_image\@/$preview_image/g;
|
|
s/\@preview_image\@/$preview_image/g;
|
|
s/\@other_examples_html\@/$other_examples_html/g;
|
|
s/\@other_examples_html\@/$other_examples_html/g;
|