diff --git a/docs/quickstart.rst b/docs/quickstart.rst index fb90b002..a13b6e52 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -56,6 +56,9 @@ Your site has now been generated inside the ``output`` directory. (You may see a warning related to feeds, but that is normal when developing locally and can be ignored for now.) +To quickly iterate a single file while working on it, you can generate only a +single file. See: :ref:`writing_only_selected_content`. + Preview your site ----------------- diff --git a/docs/settings.rst b/docs/settings.rst index df2fa722..bc02fc2f 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -811,6 +811,13 @@ on the command line using the ``--write-selected`` option, which accepts a comma-separated list of output file paths. By default this list is empty, so all output is written. +An example of doing this might be: + + pelican --write-selected output/posts/2014/10/08/in-re-nsl/index.html + +You can use the output of the ``--debug`` flag to determine the correct file +names to provide to the ``--write-selected`` flag. + Example settings ================