I start studying Pelican today because I want to move my blog from wordpress to pelican.
However, after reading the docs, I still don't know the difference between pelican ./content
and make html
. They both seem to generate a static website. Besides, pelican ./content
always returns a UnicodeDecodeError** for me, while
pelican ./content` does not.
What's the difference between them and why?
pelican ./content
runs the generation of the website using defaults and trying to guess the location of your content, output and configuration files.make html
callspelican
, but explicitly gives it the input directory, the output directory, the configuration file and, optionally, some extra options.Basically,
make html
(along withmake regenerate
) are convenience methods that make the job a bit easier for you. In any case, you should runmake publish
to generate the content that is to be uploaded to your web server, as it loads thepublishconf.py
files, which define a few extra options (the rss feeds) and allows you to change settings for the "proper" website.