Skip to content

Commit

Permalink
Update the sample problems to use the pg-codemirror-editor with CodeM…
Browse files Browse the repository at this point in the history
…irror 6.
  • Loading branch information
drgrice1 committed Dec 11, 2024
1 parent f4e6aa7 commit de3eadb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1,471 deletions.
6 changes: 2 additions & 4 deletions bin/parse-problem-doc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ BEGIN
use lib "$pg_root/lib";

use Mojo::Template;
use File::Basename qw(fileparse basename);
use File::Basename qw(basename);
use Getopt::Long;
use File::Copy qw(copy);
use YAML::XS qw(DumpFile);
use Pod::Simple::Search;

use SampleProblemParser qw(parseSampleProblem generateMetadata);
Expand Down Expand Up @@ -155,8 +154,7 @@ ($params, %options)
return;
}

# Copy the PG.js file and CSS file into the output directory.
copy("$pg_root/tutorial/js/PG.js", $out_dir);
# Copy the CSS file into the output directory.
copy("$pg_root/tutorial/css/sample-problem.css", $out_dir);

1;
Loading

0 comments on commit de3eadb

Please sign in to comment.