There’s stuff like https://zealdocs.org/ that allow you to take all relevant documentation with you so offline coding will work.
If you just want to be productive, you could also bring a lot of books or downloaded tutorials on a drive.
Btw, make sure your drive is encrypted and you think of a way to backup your data so you don’t lose the offline progress.