The goal of this patch is to be able to provide a version of the documentation that can be viewed in a web browser. This can be easier to view on non-RISC OS platforms and can be linked to in online discussions, and should in theory be indexable by search engines.
A preview can be found here: https://ccawley2011.github.io/oslib-docs-preview/OS.html
A couple of additional notes:
I'm not sure how best to implement either of these, so I'm open to suggestions.