Create custom category_info file which works with topics from ORNL repositories
The automatically generated file explore/github-data/intRepo_Metadata.json
maps each repository to several properties, one of these being topics
. Some of these topics
will be mentioned in the manually generated file category/category_info.json
.
So:
- A repository can have many topics
- A category can have many topics
- Repositories and topics are defined from Github, categories are defined by us.
What we need
We need to create a custom category_info
list that works with the pre-existing topics already in the ORNL repository, so that we can display real data instead of fake data. A 1-1 mapping of categories to topics is probably okay to start with for now, though we will eventually change this.
Each category needs to have a title, an icon (with a functional image path and alternative text), a short and long description (can be empty), and an array of topics.
For now, it's okay to reuse the existing images across multiple categories.