Question: how to open gdoc offline?
Answer: Open Chrome. Make sure you're signed in to Chrome.
Go to drive.google.com/drive/settings.
Check the box next to "Sync Google Docs, Sheets, Slides & Drawings files to this computer so that you can edit offline."