[Pelican] Build Offline Copy of Website


My friend asked me whether it is possible to use Pelican static site generator to build a offline website which can be viewd on local machines without internet access. After some searches [1], it seems impossible to do it. Suddenly I found that we asked the wrong question because the our purpose is totally nothing to do with Pelican! The question should be: is it possible to get an offline copy of an online website?

The answer is YES! wget can do this for static sites without any problem. After some searches [2], I found the solution [3] is exactly what we need. So sometimes asking questions from different ways can lead to unexpected easy solution!

Tested on: Ubuntu Linux 18.04.


References:

[1]
[2]
[3]Make Offline Mirror of a Site using `wget` | Guy Rutenberg