Comment
Comment by amagasaki
On macOS there is Dash -
https://kapeli.com/dash which can download and make easily searchable many documentations as well as StackOverflow answers. I have been using it sparingly, but for coding without an internet connection it seems ideal