Closed jonathansick closed 3 years ago
I'm assigning this to you again @adrn . LIke #4 it's an old PR I'd like to get merged for new development. This one needs to be merged after #5 (I can rebase) since it builds on commits from that PR.
Ok, ready for rebase!
Thanks @adrn, this one is ready to go now too.
In our search interface, we want to have separate filters for different types of keywords: Astropy package, Python package, science, and task. However, in our source documents we don't separate these keywords; they're all listed together. The purpose of this PR is to add a way to classify keywords into one of the four types.
To do this, we have a YAML document that's part of learn-astropy-librarian, at
astropylibrarian/data/keywords.yaml
. For us to recognize a keyword, it needs to be listed in this file. The alternative would be to change our metadata format inside to tutorials to provide this classification; which would be a more decentralized approach. This, on the other hand, centralizes keyword curation which might actually be a good thing.