Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch reads all `rdfs:comment`s for a given subject, concatenates them together, separated by newlines, and uses this value as the Haddock documentation for that subject. Not all vocabularies in this library are fully documented using `rdfs:comment`, though, so there remain some generated subjects that lack documentation. This is for two reasons. First, for those nodes that lack any documentation at all, this patch elects to remain faithful to the underlying vocabulary and keep these nodes undocumented. Second, some vocabularies, like SKOS, use their own predicate for documentation; this patch chooses to only read the standard `rdfs:comment`. Additional documentation vocabularies can be added later if required.
- Loading branch information