Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
0011193
Fix direct `maketext` calls in the Translator.
drgrice1 Jul 3, 2025
0a00d34
Fixes POD errors/warnings in modules
pstaabp Jul 7, 2025
73cbbb4
Adds functionality to drag-n-drop problems to permit the repository b…
sfiedle1 Jun 29, 2025
bf4b870
Add an option to show the "universal set" in `draggableSubsets.pl` pr…
drgrice1 Jul 4, 2025
214b29b
HTML encode the universal set label so that math works.
drgrice1 Jul 7, 2025
475d3c3
Make the `UniversalSetLabel` default setting of the
drgrice1 Jul 7, 2025
9fed370
use direct method in POD
Alex-Jordan Jul 11, 2025
3d1d351
Update the `pg.pot` file.
drgrice1 Jul 15, 2025
c9b9fe8
Remove use of shift for parsing parameters in plotly3D.
somiaj Jul 17, 2025
7bbafe6
Translate pg.pot in el [Manual Sync]
transifex-integration[bot] Jul 20, 2025
826cf7c
Translate pg.pot in he_IL [Manual Sync]
transifex-integration[bot] Jul 20, 2025
6d4c2a0
Translate pg.pot in cs_CZ [Manual Sync]
transifex-integration[bot] Jul 20, 2025
450c2b5
Translate pg.pot in es [Manual Sync]
transifex-integration[bot] Jul 20, 2025
c12fe02
Translate pg.pot in ko [Manual Sync]
transifex-integration[bot] Jul 20, 2025
c657c20
Translate pg.pot in ru_RU [Manual Sync]
transifex-integration[bot] Jul 20, 2025
ff95bc0
Translate pg.pot in de [Manual Sync]
transifex-integration[bot] Jul 20, 2025
ef46680
Translate pg.pot in fr [Manual Sync]
transifex-integration[bot] Jul 20, 2025
3157d3e
Translate pg.pot in zh_HK [Manual Sync]
transifex-integration[bot] Jul 20, 2025
b327336
Translate pg.pot in hu [Manual Sync]
transifex-integration[bot] Jul 20, 2025
cee30bc
Translate pg.pot in tr [Manual Sync]
transifex-integration[bot] Jul 20, 2025
551e7c6
Translate pg.pot in zh_CN [Manual Sync]
transifex-integration[bot] Jul 20, 2025
0b40d6e
Version back to develop.
drgrice1 Jul 20, 2025
907ce3a
Merge pull request #1294 from drgrice1/PG-2.20-back-to-develop
drgrice1 Jul 22, 2025
96590b8
Rewrite the PG uniq function to return the array in a consistent order
dlglin Jul 24, 2025
6e306ae
don't let a negative score be reported
Alex-Jordan Jul 25, 2025
3f1164e
Merge pull request #1299 from Alex-Jordan/finite-sets-fix
drgrice1 Aug 5, 2025
df2eb9d
Merge pull request #1298 from dlglin/uniq-preserve-order
Alex-Jordan Aug 5, 2025
0a69869
typo
Alex-Jordan Aug 12, 2025
76aa578
Merge pull request #1305 from Alex-Jordan/unabled
somiaj Aug 13, 2025
3fa86d6
Fix parameter check in BeginList function
pbhenson Aug 25, 2025
58a5f9d
Charge notation in contextReaction.pl
sfiedle1 Aug 29, 2025
247aee7
Comments removed
sfiedle1 Aug 30, 2025
1a93960
Merge branch 'openwebwork:main' into ion_notation
sfiedle1 Aug 30, 2025
1a9b6b6
run-perltidy.pl rerun
sfiedle1 Aug 30, 2025
3399d80
Recommended edits made to the string and TeX subroutines
sfiedle1 Aug 30, 2025
46b5edf
Reran run-perltidy.pl
sfiedle1 Aug 30, 2025
19d2cc8
Edited the string() and TeX routines to contain only one return line.
sfiedle1 Sep 1, 2025
2f059be
Merge pull request #1310 from sfiedle1/ion_notation
dlglin Sep 9, 2025
7040341
Merge pull request #1309 from pbhenson/union_lists
pstaabp Sep 9, 2025
4f0b591
Fix some issues with sample problem documentation generation.
drgrice1 Sep 2, 2025
ad4e2e5
Ignore the "separator" for parserCheckboxList.pl and parserRadioButto…
drgrice1 Aug 10, 2025
8c7b390
Add a comment to the POD that the separator is only used for HTML dis…
drgrice1 Aug 12, 2025
666a9ba
Fix several issues with the `contextInteger.pl` macro.
drgrice1 Jul 22, 2025
344cf1f
Merge pull request #1312 from drgrice1/sample-problem-generation-issues
Alex-Jordan Sep 12, 2025
4716c37
Merge pull request #1304 from drgrice1/checkbox-radio-ignore-separator
pstaabp Sep 16, 2025
fae6c58
propose spelling fix
jeis4wpi Sep 16, 2025
44e506e
Update third party npm dependencies.
drgrice1 Jul 15, 2025
e2f824f
Merge pull request #1306 from drgrice1/update-npm-dependencies
dlglin Sep 16, 2025
e31f197
Merge pull request #1297 from drgrice1/context-integer-fixes
pstaabp Sep 16, 2025
a0b40c5
fix some typos
jeis4wpi Sep 17, 2025
166606e
Tighten syntactic checks, combine adjacent equal elements, add conver…
dpvc Sep 19, 2025
be82dd0
Fix typo pointed out by @sfiedle1
dpvc Sep 19, 2025
8598a89
Merge branch 'openwebwork:develop' into develop
jeis4wpi Sep 20, 2025
31a9e8a
a few more proposed typos
jeis4wpi Sep 20, 2025
5b6e28a
Fix typo in POD generation of parserCheckboxList.pl
somiaj Sep 23, 2025
b056613
Merge pull request #1316 from somiaj/fix-pod-typo
dlglin Sep 23, 2025
a4463cf
Fix issues with the legacy NumberWithUnits.
drgrice1 Aug 7, 2025
a179902
Fix the unit test that attempts to construct a `NumberWithUnits` with…
drgrice1 Aug 7, 2025
ce1f03b
Merge pull request #1302 from drgrice1/bugfix/legacy-units-issues
dlglin Sep 30, 2025
6a4dd45
Fix invalid html for ans_array answers.
drgrice1 Oct 6, 2025
5e8b76d
Update the MathQuill version to pull in some fixes.
drgrice1 Oct 7, 2025
80961b8
Merge pull request #1319 from drgrice1/update-mathquill
pstaabp Oct 7, 2025
bab8339
Merge pull request #1318 from drgrice1/fix-invalid-matrix-html
pstaabp Oct 7, 2025
7607e01
Merge branch 'openwebwork:develop' into develop
jeis4wpi Oct 8, 2025
3c5132f
fix my spacing bug
jeis4wpi Oct 9, 2025
a389e98
Fix contextFraction.pl with reduceConstants disabled.
drgrice1 Oct 14, 2025
8080e3a
Fix typos in POD documentation
dpvc Oct 14, 2025
d476a40
Merge pull request #1327 from drgrice1/fix-context-fraction-reduce
dlglin Oct 21, 2025
24a0c5a
Merge pull request #1314 from jeis4wpi/develop
drgrice1 Oct 21, 2025
e4a64fb
Remove badges that are basically broken.
pstaabp Oct 28, 2025
ee9d9ce
Change all webwork.maa.org links to openwebwork.org, and remove code …
dlglin Oct 28, 2025
4d6614c
Merge pull request #1331 from pstaabp/remove-README-badges
drgrice1 Oct 28, 2025
e75e44a
Merge pull request #1315 from dpvc/update-reaction
somiaj Oct 29, 2025
8fb3467
Merge branch 'develop' into remove-maa-references
drgrice1 Oct 30, 2025
f5bb0b5
Merge pull request #1332 from dlglin/remove-maa-references
drgrice1 Oct 30, 2025
57d5500
Fix feedback previews when the display mode is "images".
drgrice1 Oct 8, 2025
1b50338
Replace invalid "type" attribute on `ul` tag in PGML.
drgrice1 Aug 25, 2025
d95fbe5
Merge pull request #1323 from drgrice1/bugfix/feedback-in-image-displ…
dlglin Nov 4, 2025
9dbb09a
Merge pull request #1335 from drgrice1/pgml-fix-invalid-html
dlglin Nov 4, 2025
2465f46
Use same context when creating a new context::Fraction::Parser::Number
somiaj Nov 6, 2025
fdf168f
Fix an issue with implied multiplication in the contextFraction.pl m…
drgrice1 Nov 6, 2025
3c05a41
Possible fix for the eval issue.
drgrice1 Nov 6, 2025
004f84f
Merge pull request #1341 from drgrice1/bugfix/context-fraction-space
dlglin Nov 7, 2025
f590715
Allow plotting Fy = 0 in plots.
somiaj Nov 9, 2025
f6975f6
Fix the legacyFraction.pl init method.
drgrice1 Nov 6, 2025
c37311d
Merge pull request #1338 from somiaj/fix-fraction-equal-comparision
dlglin Nov 25, 2025
22d57e7
Merge pull request #1342 from drgrice1/bugfix/legacy-fraction-init
dlglin Nov 25, 2025
be18d6d
Merge pull request #1347 from somiaj/allow-zero-Fy
dlglin Nov 25, 2025
ac640be
Merge pull request #1344 from drgrice1/bugfix/context-fraction-eval-i…
dlglin Nov 25, 2025
76cb3e2
Fix numeric values for CheckboxLists.
drgrice1 Nov 27, 2025
b87e1c2
Fix a bug with MathQuill options in the context flag before it is rea…
drgrice1 Oct 30, 2025
8e09356
Restructure the warning handling for the LaTeXImage.pm module.
drgrice1 Oct 14, 2025
5335bf6
Merge pull request #1351 from drgrice1/bugfix/checkbox-list-numeric-v…
dlglin Dec 2, 2025
1e33c7c
Update the browserslist-db to eliminate the warning to do so.
drgrice1 Dec 3, 2025
7e94928
Merge pull request #1329 from drgrice1/lateximage-warnings
somiaj Dec 12, 2025
f21a882
Use strong and em instead of b and i tags for bold and italic.
somiaj Dec 13, 2025
a654462
Merge pull request #1352 from drgrice1/update-browserslist-db
Alex-Jordan Dec 19, 2025
bcebe4a
Merge pull request #1334 from drgrice1/bugfix/future-mq-opt-issue
Alex-Jordan Dec 19, 2025
cf2cf3b
Merge pull request #1354 from somiaj/make-bold-strong
drgrice1 Dec 23, 2025
f6692fa
Fix some issues with plots.pl and the graph tool.
drgrice1 Oct 8, 2025
08d2057
PTX stuff for parserRadioMultiAnswer
Alex-Jordan Dec 27, 2025
0528ffa
Merge pull request #1322 from drgrice1/plots-fixes
pstaabp Dec 30, 2025
0920b16
PG critic script.
pstaabp Jun 20, 2025
cf4d73f
Add a PG critic for problem code.
drgrice1 Jul 9, 2025
675b24e
Remove "positive violations" and invert score.
drgrice1 Jul 16, 2025
184b467
Add a "--pg-only" ("-p" for short) option to the `bin/pg-critic.pl` s…
drgrice1 Jul 16, 2025
1d6366c
Switch to a better approach to using `PGML::Parse`.
drgrice1 Jul 16, 2025
8c04407
Add warnings to the return data of the `parsePGMLBlock` method.
drgrice1 Jul 16, 2025
59a5e77
Add a SimpleGraph.pl macro for working with simple graphs from graph …
drgrice1 Sep 15, 2025
f1950c5
Rework the width and height for images.
drgrice1 Dec 17, 2025
6a4df5e
Clean up how the feedback reveal button works.
drgrice1 Dec 30, 2025
4e32c50
Merge pull request #1321 from drgrice1/simple-graph-macro
Alex-Jordan Jan 1, 2026
0081e5a
Merge pull request #1360 from drgrice1/feedback-reveal-correct-improv…
Alex-Jordan Jan 1, 2026
15c2531
Merge pull request #1278 from drgrice1/pg-critic
somiaj Jan 1, 2026
b9d6c55
Apply Par margin to previous box in some cases in PGML.
somiaj Dec 27, 2025
c9a64c5
Refactor the PGML::format string loop.
somiaj Dec 30, 2025
12dacaf
Convert span to div to fix HTML validation issue with hr inside.
somiaj Dec 30, 2025
0e4426c
Remove setting PGML::format::item
somiaj Dec 31, 2025
1c08db4
PGML::format combine item and block into state hash.
somiaj Dec 31, 2025
8096d98
PGML::Format make escape method lower case.
somiaj Dec 31, 2025
1dde95c
PGML::Format::html remove new lines and use main::tag.
somiaj Dec 31, 2025
963083f
Use <br> (preferred for HTML5) instead of <br /> in PGML::Format::html.
somiaj Jan 1, 2026
e6a6a7d
Fix issue with PGML::Format::Table.
somiaj Jan 1, 2026
6a0f76d
Merge pull request #1358 from somiaj/pgml-add-par-to-prev-block
drgrice1 Jan 9, 2026
753bf3e
Merge pull request #1359 from Alex-Jordan/rma-ptx
drgrice1 Jan 9, 2026
2f096b5
Improvements to the plots.pl macro.
drgrice1 Oct 10, 2025
3bab1de
Optimize the TikZ format when a draw and fill occur separately.
drgrice1 Nov 5, 2025
90b8cce
Implement the `continue`, `continue_left`, and `continue_right` optio…
drgrice1 Nov 6, 2025
7842d1d
Fix issues with arcs.
drgrice1 Nov 11, 2025
6789b09
Some label positioning improvements.
drgrice1 Nov 13, 2025
5816b2c
Make multipath allow points.
drgrice1 Nov 11, 2025
16c7b70
Add fill_min_y and fill_max_y options.
drgrice1 Nov 20, 2025
4f9f7dc
Make the axes arrows configurable per axis.
drgrice1 Nov 22, 2025
f5e9042
Rework the extra space allocation for axes that are on the edges.
drgrice1 Nov 23, 2025
8501ec5
Use the `add_point` method instead of the `add_stamp` method in the `…
drgrice1 Jan 1, 2026
a328b64
Merge pull request #1336 from drgrice1/more-plots-improvements
pstaabp Jan 13, 2026
7cb9cea
Implement several options for the GraphTool in hardcopy that should h…
drgrice1 Oct 28, 2025
e67bc66
Add a workflow to generate and publish PG POD and sample problem docu…
drgrice1 Sep 3, 2025
ca97ffa
Upgrade JSXGraph to the latest version and fix the graphtool for that.
drgrice1 Dec 22, 2025
fa56ca0
Fix the enter key behavior for MathQuill inputs.
drgrice1 Jan 24, 2026
d2405c9
Merge pull request #1346 from drgrice1/pod-and-sample-problem-generat…
somiaj Feb 1, 2026
3f52c19
Merge pull request #1333 from drgrice1/graphtool-hardcopy-scale
somiaj Feb 1, 2026
8ce6a8e
Merge pull request #1357 from drgrice1/upgrade-jsxgraph-to-latest
somiaj Feb 1, 2026
f3aea51
Merge pull request #1367 from drgrice1/bufix/enter-key-submit-behavior
somiaj Feb 1, 2026
5989b4a
Force some things to be displayed in the light color scheme.
drgrice1 Jan 22, 2026
09b1c46
Remove everything CAPA.
drgrice1 Dec 19, 2025
a43c888
Merge pull request #1375 from drgrice1/remove-capa
somiaj Feb 8, 2026
36c907f
Merge pull request #1369 from drgrice1/force-light-mode
somiaj Feb 16, 2026
c411b5d
Remove partial credit note in avg_problem_grader.
somiaj Feb 4, 2026
a1d218f
Switch applets from storing state via `RECORD_FORM_LABEL` to using th…
drgrice1 Dec 4, 2025
ef69427
Switch ww_applet_support.js from using a submit handler to click hand…
drgrice1 Dec 5, 2025
309ccef
Merge pull request #1353 from drgrice1/geogebra-applet-update
somiaj Feb 17, 2026
963aab4
Merge pull request #1377 from somiaj/remove-partial-credit-note
dlglin Feb 17, 2026
b3513d9
Fix a possible infinite loop in the MathView initializion code.
drgrice1 Feb 4, 2026
783bfee
Merge pull request #1376 from drgrice1/bugfix/mathview-initialization
pstaabp Feb 23, 2026
d344b51
Add PG::Critic policy for the deprecated weightedGrader.pl macros.
somiaj Jan 8, 2026
0e1ad01
Merge pull request #1363 from somiaj/pg-critic-additions
pstaabp Feb 24, 2026
7139b19
Fix npm security vulnerabilities.
drgrice1 Mar 10, 2026
2d201ef
Merge pull request #1382 from drgrice1/fix-npm-security-vulnerabilities
somiaj Mar 10, 2026
f0c94b3
License clarification.
somiaj Mar 10, 2026
9d2c440
Update the `pg.pot` file.
drgrice1 Mar 17, 2026
de768c9
Merge pull request #1385 from drgrice1/update-localization
dlglin Mar 17, 2026
9766e9f
Merge pull request #1383 from somiaj/update-license
drgrice1 Mar 24, 2026
995ba8e
Fix `drawZero` for JSXGraph output of the plots macro.
drgrice1 Mar 24, 2026
110d9dd
Remove the internal debug messages.
drgrice1 Mar 23, 2026
5645108
Fix an npm dependency security vulnerability.
drgrice1 Mar 25, 2026
e53f566
Merge pull request #1390 from drgrice1/npm-security-vulnerability
somiaj Mar 25, 2026
b64c995
Merge pull request #1386 from drgrice1/remove-internal-debug
dlglin Mar 31, 2026
86d6be7
Merge pull request #1387 from drgrice1/fix-plots-jsxgraph-drawzero
dlglin Mar 31, 2026
936c513
Merge remote-tracking branch 'origin/main' into PG-2.21
drgrice1 Mar 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/generate-and-publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Generate and Publish PG POD and Sample Problem Documentation

on:
# Execute the workflow anytime something is merged into or pushed to main.
push:
branches:
- main

# This allows this workflow to be triggered manually from the actions tab.
workflow_dispatch:

jobs:
generate-documentation:
runs-on: ubuntu-24.04

steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends --no-install-suggests \
pandoc \
libmojolicious-perl \
libpandoc-wrapper-perl \
libpod-parser-perl

- name: Checkout pg code
uses: actions/checkout@v4
with:
path: pg

- name: Create output directory
run: mkdir /home/runner/work/pg/pg/documentation

- name: Generate sample problem documentation
run: |
perl pg/bin/parse-problem-doc.pl \
--problem-dir=/home/runner/work/pg/pg/pg/tutorial/sample-problems \
--out-dir=/home/runner/work/pg/pg/documentation/sampleproblems \
--pod-base-url=/pg/pod \
--sample-problem-base-url=/pg/sampleproblems

- name: Generate POD
run: perl pg/bin/generate-pg-pod.pl --output-dir=documentation/pod --base-url=/pg/pod/ --home-url=/pg

- name: Generate search data
run: perl pg/bin/generate-search-data.pl --out-file=documentation/sample-problem-search-data.json

- name: Copy assets
run: |
cp /home/runner/work/pg/pg/pg/tutorial/templates/index.html \
/home/runner/work/pg/pg/documentation/
cp /home/runner/work/pg/pg/pg/htdocs/js/SampleProblemViewer/documentation-search.js \
/home/runner/work/pg/pg/documentation/

- name: Upload documentation html
uses: actions/upload-pages-artifact@v3
with:
path: documentation

publish-documentation:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Set the permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages.
permissions:
pages: write
id-token: write

runs-on: ubuntu-24.04
needs: generate-documentation

steps:
- name: Publish to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
20 changes: 10 additions & 10 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
WeBWorK
Online Homework Delivery System
WeBWorK PG
Version 2.*

Copyright 2000-2025, The WeBWorK Project

All rights reserved.

This program is free software; you can redistribute it and/or modify
Expand All @@ -12,19 +12,19 @@
Software Foundation; either version 2, or (at your option)
any later version, or

b) the "Artistic License" which comes with this package.
b) the "Artistic License" 1.0 which comes with this package.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either
the GNU General Public License or the Artistic License for more details.

You should have received a copy of the Artistic License with this
package, in the file named "Artistic". If not, we'll be glad to provide
one.
You should have received a copy of the Artistic License 1.0 with this
package, in the file named "Artistic" inside the `doc` folder. If not,
you can find a copy at https://github.com/openwebwork/pg/blob/main/doc/Artistic
or https://perlfoundation.org/artistic-license-10.html.

You should also have received a copy of the GNU General Public License
along with this program in the file named "Copying". If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307, USA or visit their web page on the internet at
http://www.gnu.org/copyleft/gpl.html.
along with this program in the file named "Copying" inside the `doc` folder.
If not, you can find a copy at https://github.com/openwebwork/pg/blob/main/doc/Copying
or https://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
11 changes: 0 additions & 11 deletions README

This file was deleted.

17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
# Welcome to WeBWorK

![main workflow](https://github.com/pstaabp/pg/actions/workflows/coverage.yml/badge.svg)
[![codecov](https://codecov.io/gh/pstaabp/pg/branch/unit-test/graph/badge.svg?token=H7WYHBDB9S)](https://codecov.io/gh/pstaabp/pg)
![GitHub last commit](https://img.shields.io/github/last-commit/pstaabp/pg/unit-test)

WeBWorK is an open-source online homework system for math and sciences courses. WeBWorK is supported by the MAA and the NSF and comes with an Open Problem Library (OPL) of over 30,000 homework problems. Problems in the OPL target most lower division undergraduate math courses and some advanced courses. Supported courses include college algebra, discrete mathematics, probability and statistics, single and multivariable calculus, differential equations, linear algebra and complex analysis. Find out more at the main WeBWorK [webpage](http://webwork.maa.org).
WeBWorK is an open-source online homework system for math and sciences courses. WeBWorK is supported by the MAA and the NSF and comes with an Open Problem Library (OPL) of over 30,000 homework problems. Problems in the OPL target most lower division undergraduate math courses and some advanced courses. Supported courses include college algebra, discrete mathematics, probability and statistics, single and multivariable calculus, differential equations, linear algebra and complex analysis. Find out more at the main WeBWorK [webpage](https://openwebwork.org).

## Information for Users

New users interested in getting started with their own WeBWorK server, or instructors looking to learn more about how to use WeBWorK in their classes, should take a look at one of the following resources:

* [WeBWorK wiki](http://webwork.maa.org/wiki/Main_Page) - The main WeBWorK wiki
* [Instructors](http://webwork.maa.org/wiki/Instructors) - Information for Instructors
* [Problem Authors](http://webwork.maa.org/wiki/Authors) - Information for Problem Authors
* [WW_Install](http://github.com/aubreyja/ww_install) - Information for using the WW_install script
* [Forum](http://webwork.maa.org/moodle/mod/forum/index.php?id=3) - The WeBWorK Forum
* [WeBWorK wiki](https://wiki.openwebwork.org/wiki/WeBWorK_Main_Page) - The main WeBWorK wiki
* [Instructors](https://wiki.openwebwork.org/wiki/Instructors) - Information for Instructors
* [Problem Authors](https://wiki.openwebwork.org/wiki/Authors) - Information for Problem Authors
* [Forum](https://forums.openwebwork.org/mod/forum/index.php?id=3) - The WeBWorK Forum
* [Frequently Asked Questions](https://github.com/openwebwork/webwork2/wiki/Frequently-Asked-Questions) - A list of frequently asked questions.

## Information For Developers

People interested in developing new features for WeBWorK should take a look at the following resources. People interested in developing new problems for WeBWorK should visit [Problem Authors](http://webwork.maa.org/wiki/Authors).
People interested in developing new features for WeBWorK should take a look at the following resources. People interested in developing new problems for WeBWorK should visit [Problem Authors](https://wiki.openwebwork.org/wiki/Authors).

* [First Time Setup](https://github.com/openwebwork/webwork2/wiki/First-Time-Setup) - Setting up your clone of this github repo for the first time.
* [Coding and Workflow](https://github.com/openwebwork/webwork2/wiki/Coding-and-Workflow) - Our suggested workflow processes. Following this will make it much easier to get code accepted into the repo.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$PG_VERSION ='2.20';
$PG_VERSION ='2.20+develop';
$PG_COPYRIGHT_YEARS = '1996-2025';

1;
94 changes: 94 additions & 0 deletions assets/pod-templates/category-index.mt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
%
<head>
<meta charset='UTF-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= $title %></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="<%= $dest_url %>/assets/podviewer.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js" defer></script>
<script src="<%= $dest_url %>/assets/podviewer.js" defer></script>
</head>
%
<body>
<div class="pod-header navbar navbar-dark bg-primary px-3 position-fixed border-bottom border-dark">
<div class="container-fluid d-flex flex-column d-md-block">
<h1 class="navbar-brand fw-bold fs-5 me-auto me-md-0 mb-2 mb-md-0"><%= $title %></h1>
<button class="navbar-toggler d-md-none me-auto" type="button" data-bs-toggle="offcanvas"
data-bs-target="#sidebar" aria-controls="sidebar" aria-label="Toggle Sidebar">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
%
% my ($index, $macro_index, $content, $macro_content) = ('', '', '', '');
% for my $macro (@$macros_order) {
% my $new_index = begin
<a href="#macro-<%= $macro %>" class="nav-link"><%= $macro_names->{$macro} // $macro %></a>
% end
% $macro_index .= $new_index->();
% my $new_content = begin
<h3><a href="#_podtop_" id="macro-<%= $macro %>"><%= $macro_names->{$macro} // $macro %></a></h3>
<div class="list-group mb-2">
% for my $file (sort { $a->[1] cmp $b->[1] } @{ $macros->{$macro} }) {
<a href="<%= $file->[0] %>" class="list-group-item list-group-item-action"><%= $file->[1] %></a>
% }
</div>
% end
% $macro_content .= $new_content->();
% }
% for my $section (@$section_order) {
% next unless defined $pod_index->{$section};
% my $new_index = begin
<a href="#<%= $section %>" class="nav-link"><%= $sections->{$section} %></a>
% if ($section eq 'macros') {
<div class="nav flex-column ms-3">
<%= $macro_index %>
</div>
% }
% end
% $index .= $new_index->();
% my $new_content = begin
<h2><a href="#_podtop_" id="<%= $section %>"><%= $sections->{$section} %></a></h2>
<div class="list-group mb-2">
% if ($section eq 'macros') {
<%= $macro_content =%>
% } else {
% for my $file (sort { $a->[1] cmp $b->[1] } @{ $pod_index->{$section} }) {
<a href="<%= $file->[0] %>" class="list-group-item list-group-item-action">
<%= $file->[1] %>
</a>
% }
% }
</div>
% end
% $content .= $new_content->();
% }
%
<aside class="offcanvas-md offcanvas-start border-end border-dark position-fixed" tabindex="-1"
id="sidebar" aria-labelledby="sidebar-label">
<div class="offcanvas-header">
<h2 class="offcanvas-title" id="sidebar-label">Index</h2>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#sidebar"
aria-label="Close">
</button>
</div>
<div class="offcanvas-body p-md-3 w-100">
<nav class="nav flex-column w-100">
<a href="<%= $home_url %>" class="nav-link"><%= $home_url_link_name %></a>
<a href="https://wiki.openwebwork.org/wiki/WeBWorK_Main_Page" class="nav-link">WeBWorK Wiki</a>
<hr>
<%= $index =%>
</nav>
</div>
</aside>
<div class="pod-page-container d-flex">
<div class="container-fluid p-3 h-100" id="_podtop_">
<%= $content =%>
<p class="mt-3">Generated <%= $date %></p>
</div>
</div>
</body>
%
</html>
55 changes: 55 additions & 0 deletions assets/pod-templates/pod.mt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
%
<head>
<meta charset='UTF-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><%= $title %></title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="<%= $dest_url %>/assets/podviewer.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js" defer></script>
<script src="<%= $dest_url %>/assets/podviewer.js" defer></script>
</head>
%
<body>
<div class="pod-header navbar navbar-dark bg-primary px-3 position-fixed border-bottom border-dark">
<div class="container-fluid d-flex flex-column d-md-block">
<h1 class="navbar-brand fw-bold fs-5 me-auto me-md-0 mb-2 mb-md-0"><%= $title %></h1>
<button class="navbar-toggler d-md-none me-auto" type="button" data-bs-toggle="offcanvas"
data-bs-target="#sidebar" aria-controls="sidebar" aria-label="Toggle Sidebar">
<span class="navbar-toggler-icon"></span>
</button>
</div>
</div>
<aside class="offcanvas-md offcanvas-start border-end border-dark position-fixed" tabindex="-1"
id="sidebar" aria-labelledby="sidebar-label">
<div class="offcanvas-header">
<h2 class="offcanvas-title" id="sidebar-label">Index</h2>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#sidebar"
aria-label="Close">
</button>
</div>
<div class="offcanvas-body p-md-3 w-100">
<nav>
<ul class="nav flex-column w-100">
<li class="nav-item">
<a href="<%= $home_url %>" class="nav-link p-0"><%= $home_url_link_name %></a>
</li>
<li class="nav-item">
<a href="https://wiki.openwebwork.org/wiki/WeBWorK_Main_Page"
class="nav-link p-0">WeBWorK Wiki</a>
</li>
<li><hr></li>
<%= $index->join('') =%>
</ul>
</nav>
</div>
</aside>
<div class="pod-page-container d-flex">
<div class="container-fluid p-3 h-100" id="_podtop_">
<%= $content =%>
</div>
</div>
</body>
%
</html>
Loading
Loading