From c62fa3d8f1754c1ddb4ff138a19e93836c0d9712 Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Fri, 30 Aug 2013 00:13:36 +0500 Subject: [PATCH] Update settings documentation to explain INTRASITE_LINK_REGEX Updates getpelican/pelican#1061 --- docs/settings.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/settings.rst b/docs/settings.rst index c709a339..97854d01 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -156,9 +156,11 @@ Setting name (default value) What doe `_ `WITH_FUTURE_DATES` (``True``) If disabled, content with dates in the future will get a default status of draft. +`INTRASITE_LINK_REGEX` (''[#]_) Regex to parse intra site links to files, images, category, tags etc ===================================================================== ===================================================================== .. [#] Default is the system locale. +.. [#] Default is ``'(?P<\s*[^\>]*(?:href|src)\s*=) (?P["\'])(?P[|{](?P.*?)[|}] (?P.*?))\2'`` URL settings