Repository navigation
HTML generator moved to GIT submodule - #68
Merged
Merged
Conversation
Problem Summary: 84 total✅ Passed: 83 |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The submodule gitlink is missing, and the setup documentation does not explain how to initialize the new submodule.
Review effort: Balanced
Findings: 1
Open (2)
What changed in this PR
Moves the HTML generator and shared templates toward reuse through an external Git submodule.
Changes:
- Adds
.generatorsubmodule configuration. - Removes locally maintained generator scripts and slug configuration.
- Removes shared HTML templates now intended to reside in the submodule.
| File | Description |
|---|---|
.gitmodules |
Configures the generator repository URL. |
.generator/slugs.py |
Removes local course slugs. |
.generator/main.py |
Removes the local generator entry point. |
.generator/generator.py |
Removes local Jinja rendering logic. |
.generator/generate_offline.py |
Removes offline generation logic. |
_html_templates/how_to_test_head.html |
Removes testing heading template. |
_html_templates/how_to_test_auto.html |
Removes automated-testing instructions. |
_html_templates/how_to_submit.html |
Removes submission instructions. |
_html_templates/how_to_mark_in_moodle.html |
Removes Moodle completion instructions. |
_html_templates/honesty.html |
Removes embedded tutoring guidance. |
_html_templates/header.html |
Removes shared page header. |
_html_templates/footer.html |
Removes shared page footer. |
_html_templates/file.html |
Removes file-creation text. |
_html_templates/demo.html |
Removes asciinema demo markup. |
_html_templates/command_box_with_cp.html |
Removes copyable command markup. |
_html_templates/command_box_scripts.html |
Removes command-copying JavaScript. |
_html_templates/before_you_begin.html |
Removes setup instructions. |
_html_templates/before_you_begin_start.html |
Removes initial environment instructions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+1
to
+3
| [submodule ".generator"] | ||
| path = .generator | ||
| url = https://github.com/HSDDigitalLabor/.generator.git |
| @@ -0,0 +1,3 @@ | |||
| [submodule ".generator"] | |||
| path = .generator | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


For easier reuse of HTML generator in different "problems" repos the generator has been moved to a seperate GIT submodule