For example, here is a parser for the Python docs, written in Python: https://github.com/duckduckgo/zeroclickinfo-fathead/blob/mas...
and the same for Ruby: https://github.com/duckduckgo/zeroclickinfo-fathead/blob/mas...