Commit cb7eab7
committed
Changes needed to accomodate changes to the PG POD and sample problem generation.
First, there are some minor tweaks to the POD and sample problem viewers:
* Fix the wording on the sample problem viewer index page for "Sample
Problems by Macro". It current says, "For many macros, this lists all
sample problems used by the macro." However, macros do not use sample
problems. Sample problems use macros. So the wording is now, "For many
macros, this lists all sample problems that use the macro."
* Update the version of bootstrap in the POD templates to 5.3.7 which is
currently the latest.
* Update the links in the pod templates to wiki.openwebwork.org.
* Remove the `favicon` links. Those are not explicitly needed. Browser's
now load the favicon even if the page does not contain the link. The
link only needs to be added if the file is not named favicon.ico.
The following are the actual changes needed to accomodate changes to the
PG POD and sample problem generation:
* Remove files that are now used from the PG repository.
* Remove the PODViewer js and css files, the PODParser.pm and PODtoHTML.pm
modules, and category-index.mt and pod.mt templates, all of which are
now provided by PG.
* Make the necessary changes to the generate-ww-pg-pod.pl script so that
it can use those files from the PG repository.
* Update the SampleProblemParser module usage for its changes and
namespace change.
* The `WeBWorK::PG::SampleProblemParser` module now handles generation of
the actual search data with its `getSearchData` method. So the
`WeBWorK::ContentGenerator::SampleProblemViewer` just calls that method.
* The `assets/stop-words-en.txt` file is now in the PG repository so that
the `WeBWorK::PG::SampleProblemParser::getSearchData` method can get at
it easily.
* The `htdocs/js/SampleProblemViewer/documentation-search.js` file is now
in the PG repository, and webwork2 uses it from there. PG also copies
it to the PG docs github pages site in its new workflow. The options are
passed in via the script in `templates/ContentGenerator/SampleProblemViewer.html.ep`.1 parent c5a2717 commit cb7eab7
File tree
13 files changed
+64
-2124
lines changed- assets
- bin/dev_scripts
- pod-templates
- htdocs/js
- PODViewer
- SampleProblemViewer
- lib/WeBWorK
- ContentGenerator
- Instructor
- Utils
- templates/ContentGenerator
13 files changed
+64
-2124
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
33 | 49 | | |
34 | 50 | | |
35 | 51 | | |
36 | | - | |
| 52 | + | |
37 | 53 | | |
38 | 54 | | |
39 | | - | |
40 | 55 | | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
44 | 59 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 60 | + | |
48 | 61 | | |
49 | 62 | | |
50 | 63 | | |
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 67 | + | |
60 | 68 | | |
61 | | - | |
| 69 | + | |
| 70 | + | |
62 | 71 | | |
63 | | - | |
| 72 | + | |
64 | 73 | | |
65 | 74 | | |
66 | 75 | | |
| |||
73 | 82 | | |
74 | 83 | | |
75 | 84 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
89 | 98 | | |
90 | 99 | | |
91 | 100 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
98 | 110 | | |
99 | 111 | | |
100 | 112 | | |
| |||
0 commit comments