Skip to content

Commit

Permalink
Docs: Escape extra setting environment variables. Fix #3016
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmayer committed Aug 3, 2023
1 parent 0989ed2 commit dcd3045
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ setting file. Note that values must follow JSON notation::

pelican content -e SITENAME='"A site"' READERS='{"html": null}' CACHE_CONTENT=true

Environment variables can also be used here but must be escaped appropriately::

pelican content -e API_KEY=''\"$API_KEY\"''

.. note::

Expand Down

0 comments on commit dcd3045

Please sign in to comment.