Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

learn: Add course catalog exporting #378

Merged
merged 4 commits into from
Jun 13, 2024
Merged

learn: Add course catalog exporting #378

merged 4 commits into from
Jun 13, 2024

Conversation

juliaogris
Copy link
Member

@juliaogris juliaogris commented Jun 12, 2024

Add course catalog exporting as single JSON file. Catalog contains all
information to generate a question set for an exercise, quiz or unittest
identified by composite IDs. It also holds the maximumScore achievable for
each course and unit. An exercise has a predefined score of 10. This will
allow for progress tracking as percentage.

Sneak in a couple of preparatory and clean-up commits: fix learn/README.md
update go dependencies and add Name field to some markdown model types.

Fix up CLI docs in learn/README.md as they have gotten out of sync with recent
refactorings. oops.
Upgrade go dependencies with

	cd learn
	go get -u ./...

and remove replace directive as rsc.io/markdown has been patched.
Add Name field to Course, Unit and Exercise, which is extracted from the first
heading of the Markdown document with styling stripped. This text will be
used in a follow-up commit for the catalog.
Copy link
Member

@camh- camh- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

☘️ LGTM

learn/cmd/levy/main.go Outdated Show resolved Hide resolved
Add course catalog exporting as single JSON file. Catalog contains all
information to generate a question set for an exercise, quiz or unittest
identified by composite IDs. It also holds the maximumScore achievable for
each course and unit. An exercise has a predefined score of 10. This
will allow for progress tracking as percentage.
@juliaogris juliaogris merged commit 791dc56 into main Jun 13, 2024
3 checks passed
@juliaogris juliaogris deleted the learn-catalog branch June 13, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants