Add a config flag to disable remote resources

At work our docs don't have outgoing internet access, so loading these
files from CDNs doesn't work.

TODO: work out how to fill these dependencies in locally.