zackbatist / open-archaeo

A list of open source archaeological software and resources
https://open-archaeo.info
Creative Commons Zero v1.0 Universal
85 stars 16 forks source link

Add categories #15

Closed joeroe closed 3 years ago

joeroe commented 3 years ago

@zackbatist This is a fairly large set of changes associated with adding a "category" taxonomy. The idea is that this provides a higher-level grouping than the tags, mainly covering the language or platform (e.g. R, Python, GIS plugins) the entry is primarily developed in. For a small number of entries I couldn't really figure that out, so there is a placeholder ? category on some for now.

To accommodate this I also made some changes to the layout of the sidebar. It's very long now, so as a quick fix I let it scroll, but this looks ugly and I think we're perhaps passed the limit of what the hyde-hyde template can fit. I'll totally understand if you'd rather find a better solution to this problem before merging this PR :)

There are also some fixes to the CSV and csv2md.r script. Merging the CSV across the forks was difficult, but I'm 99% sure no data was lost or errors introduced.

zackbatist commented 3 years ago

This looks really great, thanks @joeroe!

There are some redundancies between this and some minor unpushed work that I recently did, namely regarding deleting and rebuilding the posts and minor change to the csv structure. Should be easy to sort out after the merge.

Is there a way so that you could deploy the fork in future pull requests that deal with style? It would make it easier to review changes prior to merging.

The category system looks good. At some point in the future we should document the rationale behind the categories and tags by providing basic definitions or descriptions.