From 9e8333366e5ae1ffae5a50af248a15c21af13b24 Mon Sep 17 00:00:00 2001 From: tylerhartley Date: Fri, 19 Sep 2014 18:45:43 -0700 Subject: [PATCH 1/2] updating docs for EXTRA_PATH_METADATA to specifcy that OS-specific path separators must be used as keys, unlike some other pelican variables.reference to issue 1133. --- docs/settings.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/settings.rst b/docs/settings.rst index bd29a409..f29c4190 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, From ea566fe5faa4fb51856c71869beeb9fcc442f612 Mon Sep 17 00:00:00 2001 From: tylerhartley Date: Fri, 19 Sep 2014 19:06:48 -0700 Subject: [PATCH 2/2] fixed indentation offset...probably? --- docs/settings.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/settings.rst b/docs/settings.rst index f29c4190..7a3f08e6 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -75,8 +75,8 @@ Setting name (followed by default value, if any) full path relative to the content source directory. See :ref:`path_metadata`. ``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. + 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,