Skip to content

Commit

Permalink
#23 Update courseDirectory and courese.md
Browse files Browse the repository at this point in the history
This adds a hard-coded absolute link to the exams when the `README.md`
file is created.
  • Loading branch information
michalspano committed Aug 22, 2024
1 parent 2d18aa5 commit c1f6ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions descriptionCreator/modules/processData.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,11 @@ export function processData(settings) {
courseCredit: credits,
courseLevel: level,
courseExamCount: exams,
courseDirectory: `./exams/${courseCode}`
courseDirectory: `exams/${courseCode}`
}))
}))
}))
};

return cleaned;
}
}
2 changes: 1 addition & 1 deletion descriptionCreator/static/course.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
- [{{courseCode}} - {{courseName}}]({{courseDirectory}}){{examCount.md}}
- [{{courseCode}} - {{courseName}}](https://github.com/skipgu/past-exams/tree/main/{{courseDirectory}}){{examCount.md}}

0 comments on commit c1f6ca3

Please sign in to comment.