Document how to use a publish configuration

Explain how to import settings from pelicanconf.py into publishconf.py.
This commit is contained in:
Steven Maude 2015-05-28 22:01:05 +01:00
commit 551909893e

View file

@ -61,6 +61,15 @@ feeds, etc.) that you may have defined::
pelican content -s publishconf.py
To base your publish configuration on top of your ``pelicanconf.py``, you
can import your ``pelicanconf`` settings by including the following line in
your ``publishconf.py``::
from pelicanconf import *
If you have generated a ``publishconf.py`` using ``pelican-quickstart``,
this line is included by default.
The steps for deploying your site will depend on where it will be hosted.
If you have SSH access to a server running Nginx or Apache, you might use the
``rsync`` tool to transmit your site files::