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

Use challenge url in pack README #63

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion grand_challenge_forge/partials/pack-readme/README.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Thank you for hosting your challenge on Grand-Challenge.org, we appreciate it!
## Content

This Challenge Pack is a collection of challenge-tailored examples to help you on your
way to host your {{ challenge.slug }} challenge.
way to host your [{{ challenge.slug }} challenge]({{ challenge.url }}).


It contains the following:
* ️🦾 An example script to _automate uploading_ data to an archive
Expand Down
3 changes: 2 additions & 1 deletion grand_challenge_forge/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"type": "object",
"properties": {
"slug": {"type": "string"},
"url": {"type": "string"},
"archives": {"type": "array", "items": ARCHIVE_SCHEMA},
"phases": {
"type": "array",
Expand Down Expand Up @@ -67,7 +68,7 @@
},
},
},
"required": ["slug", "phases", "archives"],
"required": ["slug", "url", "phases", "archives"],
},
},
"required": ["challenge"],
Expand Down
1 change: 1 addition & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
DEFAULT_PACK_CONTEXT_STUB = {
"challenge": {
"slug": "challenge-slug",
"url": "https://challenge-slug.grand-challenge.org/",
"archives": [
{
"slug": "archive-slug",
Expand Down
Loading