From 693ad3296cc86915002bb86edc8dc08b714ed46e Mon Sep 17 00:00:00 2001 From: tylerhartley Date: Fri, 19 Sep 2014 18:45:43 -0700 Subject: [PATCH] EXTRA_PATH_METADATA path separator is OS-specific Updating docs for EXTRA_PATH_METADATA to clarify that OS-specific path separators must be used as keys, unlike some other Pelican variables. Refs # 1133. --- docs/settings.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index bd29a409..7a3f08e6 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -74,7 +74,9 @@ Setting name (followed by default value, if any) ``PATH_METADATA = ''`` Like ``FILENAME_METADATA``, but parsed from a page's full path relative to the content source directory. See :ref:`path_metadata`. -``EXTRA_PATH_METADATA = {}`` Extra metadata dictionaries keyed by relative path. +``EXTRA_PATH_METADATA = {}`` Extra metadata dictionaries keyed by relative path. Relative paths + require correct OS-specific directory separators (i.e. / in UNIX and + \\ in Windows) unlike some other Pelican file settings. See :ref:`path_metadata`. ``DELETE_OUTPUT_DIRECTORY = False`` Delete the output directory, and **all** of its contents, before generating new files. This can be useful in preventing older,