-
Notifications
You must be signed in to change notification settings - Fork 58
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
Autogenerate event pages #592
Merged
bittlingmayer
merged 52 commits into
machinetranslate:master
from
tovmasharrison:autogenerate-events
Mar 3, 2024
+2,411
−422
Merged
Changes from all commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
5d29948
Generate events
820e49d
Create dummy structure that needs to be used for generating events
b7edbfb
Create dummy structure that needs to be used for generating WMT events
081adc2
Add 2024 events
f66dc26
Add 2024 WMT events
0729fca
Create layout for events/WMT events
354de3a
Add events that have calls for papers
e0a4413
List MT Summit, AMTA and EAMT events
8520afa
Autogenerate 2024 events
65ae271
Unbold event
6de69d5
Remove manually added 2024 events and autogenerate them
6031162
Remove include
e4bd396
Remove unecessary import
5f2e8b1
Remove duplicate entries
e971e60
Add validation for events
7367830
Add schema
adcb22a
Update theme version
46f043b
Update excludes
5613961
Auto-generate events
fc18ef6
Remove unecessary imports
690f34d
Add WMT24 manually
e2186c2
Remove manually added WMT24 event
dff45af
Fix links
78f80d0
Fix links
67465cc
Remove MT Summit section
1410fdf
Fix loop
9268fca
Change structure
ba71a3c
Change naming convention
530a476
Change naming convention
270647c
Change slugs
33a27ab
Give style to the table
a58f749
Change structure
0784f31
Add style for table
d36b369
Update requirements
305a6ad
Fix Unicode characters handling
250f67e
Fix Unicode handling and autogenerate opening paragraphs
7646853
Change structure
2491360
Fix link
8783983
Generate event attendance mode
aca9aa8
Add event
375a674
Change structure
3bc7adb
Change to single quotes
6b0c322
Update _calls_for_papers.json
bittlingmayer 073e6b4
Update
c6b5bc6
Add form for creating events
aed274b
Change structure to previous state
594d94e
Change structure to previous state
0be7a7c
Update AMTA 2024
39f1039
Exclude jsonforms
d294dd7
Exclude .js files from html proofer
3a46e74
Remove unnecessary folders
577503a
Remove form and change naming convention
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,4 @@ vendor | |
/venv | ||
.pytest_cache | ||
__pycache__ | ||
.github/tests/.pytest_cache | ||
.github/tests/.pytest_cache |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
[ "Only Calls For Papers for events not listed in events.json (non-machine translation events) should be added here, e.g. ACL. For events we cover, there are properties in events.json.", | ||
{ | ||
"name": "Name of the event", | ||
"callsForPapersDeadline": "The deadline", | ||
"url": "The URL to the event" | ||
} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"$schema":"http://json-schema.org/draft-07/schema#", | ||
"$id":"https://machinetranslate.org/events-schema", | ||
"Title": "Calls For Papers", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"url": { | ||
"type": "string" | ||
}, | ||
"calls_for_papers_deadline": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": ["name"], | ||
"additionalItems": false, | ||
"additionalProperties": false | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
[ | ||
{ | ||
"name": "Name of the event", | ||
"id": "The slug for the event: Don't provide 'id' if a dedicated page doesn't need to be created for the event", | ||
"description": "Description of the event", | ||
"calls_for_papers_deadline": "Date format: yyyy-mm-dd, If the event has a calls For Papers", | ||
"start_date": "Date format: yyyy-mm-dd", | ||
"end_date": "Date format: yyyy-mm-dd", | ||
"more_paragraphs": [ | ||
"About the event", | ||
"About the event", | ||
"About the event" | ||
], | ||
"location": { | ||
"online": "true: if the event is online. Default: false", | ||
"location": "Location of the event. If hybrid, add online at the end. For example, 'Banghok, Thailand and online'" | ||
}, | ||
"organizer": { | ||
"type": "Association/Organization/etc.", | ||
"name": "Name of the organization/association", | ||
"url": "URL about the organizer" | ||
}, | ||
"links": [ | ||
"Any additional links should be added here like the example below", | ||
"link1", | ||
"link2", | ||
"link3" | ||
], | ||
"important_dates": [ | ||
{ | ||
"name": "", | ||
"date": "" | ||
}, | ||
{ | ||
"name": "", | ||
"date": "" | ||
}, | ||
{ | ||
"name": "", | ||
"date": "" | ||
} | ||
], | ||
"speakers": [ | ||
{ | ||
"type": "Type of the speaker: Panellist/Invited/Organizer, etc.", | ||
"about": [ | ||
"Information about each speaker: Name and Institution", | ||
"", | ||
"", | ||
"" | ||
] | ||
}, | ||
{ | ||
"type": "Type of the speaker: Panellist/Invited/Organizer, etc.", | ||
"about": [ | ||
"Information about each speaker: Name and Institution", | ||
"", | ||
"", | ||
"" | ||
] | ||
} | ||
], | ||
"workshops": [ | ||
{ | ||
"name": "", | ||
"description": "" | ||
} | ||
], | ||
"shared_tasks": { | ||
"name": "url", | ||
"name_2": "url", | ||
"name_3": "url", | ||
"name_4": "url" | ||
}, | ||
"multiday_schedule": [ | ||
"Only given if the schedule is for more than one day", | ||
[ | ||
{ | ||
"start_date": "", | ||
"title": "" | ||
}, | ||
{ | ||
"start_date": "", | ||
"title": "" | ||
} | ||
], | ||
[ | ||
{ | ||
"start_date": "", | ||
"title": "" | ||
}, | ||
{ | ||
"start_date": "", | ||
"title": "" | ||
} | ||
] | ||
], | ||
"one_day_schedule":[ | ||
"Only given if the schedule is for one day only", | ||
{ | ||
"start_time": "", | ||
"title": "" | ||
}, | ||
{ | ||
"start_time": "", | ||
"title": "" | ||
} | ||
], | ||
"calls_for_papers": [ | ||
{ | ||
"title": "", | ||
"topics": [ | ||
"", | ||
"", | ||
"", | ||
"" | ||
] | ||
}, | ||
{ | ||
"title": "", | ||
"topics": [ | ||
"", | ||
"", | ||
"", | ||
"" | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
{ | ||
"$schema":"http://json-schema.org/draft-07/schema#", | ||
"$id":"https://machinetranslate.org/events-schema", | ||
"title":"Events", | ||
tovmasharrison marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"properties":{ | ||
"name":{ | ||
"type":"string" | ||
}, | ||
"id":{ | ||
"type":"string" | ||
}, | ||
"description":{ | ||
"type":"string" | ||
}, | ||
"calls_for_papers_deadline":{ | ||
"type":"string" | ||
}, | ||
"start_date":{ | ||
"type":"string" | ||
}, | ||
"end_date":{ | ||
"type":"string" | ||
}, | ||
"more_paragraphs":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"string" | ||
}, | ||
"minItems":1 | ||
}, | ||
"location":{ | ||
"type":"object", | ||
"properties":{ | ||
"online":{ | ||
"type":"boolean" | ||
}, | ||
"location": { | ||
"type":"string" | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"organizer":{ | ||
"type":"object", | ||
"properties":{ | ||
"type":{ | ||
"type":"string" | ||
}, | ||
"name":{ | ||
"type":"string" | ||
}, | ||
"url":{ | ||
"type":"string" | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"links":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"string" | ||
}, | ||
"minItems":1 | ||
}, | ||
"important_dates":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"date":{ | ||
"type": "string", | ||
"format": "date" | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"speakers":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties":{ | ||
"type":{ | ||
"type":"string" | ||
}, | ||
"speakers":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"string" | ||
} | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"workshops":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties":{ | ||
"name":{ | ||
"type":"string" | ||
}, | ||
"description":{ | ||
"type":"string" | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"shared_tasks":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"url": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"multiday_schedule":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"array", | ||
"properties":{ | ||
"start_time":{ | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"one_day_schedule":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties":{ | ||
"start_time":{ | ||
"type":"string" | ||
}, | ||
"title":{ | ||
"type":"string" | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
}, | ||
"calls_for_papers":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties":{ | ||
"title":{ | ||
"type":"string" | ||
}, | ||
"topics":{ | ||
"type":"array", | ||
"items":{ | ||
"type":"string" | ||
} | ||
} | ||
} | ||
}, | ||
"minItems":1 | ||
} | ||
}, | ||
"required":[ | ||
"name", | ||
"start_date" | ||
], | ||
"additionalItems":false, | ||
"additionalProperties":false | ||
} |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this.