I think it should be more like a knowledge or resource database with a very flexible data model.
It should be possible to save various types of metadata and references to other knowledge items (for example code snippets) with it.
currently i am trying to develop something like that for a university.