From 09a78306d52b4ce6ac26ab20e4a44cf01a35b3ad Mon Sep 17 00:00:00 2001 From: Jonathan Sundqvist Date: Sun, 22 May 2016 23:25:25 +0100 Subject: [PATCH] Update settings.rst This --- docs/settings.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/settings.rst b/docs/settings.rst index 1de28c12..012c57e6 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -625,6 +625,25 @@ This would cause the first page to be written to ``{base_name}/index.html``, and subsequent ones would be written into ``page/{number}`` directories. +Furthermore you need to add settings how tags, authors and categories will be defined, +otherwise you will get a RuntimeError while generating your posts. See an example below +on how this should look:: + + TAG_URL = 'tag/{slug}/' + TAG_SAVE_AS = 'tag/{slug}/index.html' + TAGS_URL = 'tags/' + TAGS_SAVE_AS = 'tags/index.html' + + AUTHOR_URL = 'author/{slug}/' + AUTHOR_SAVE_AS = 'author/{slug}/index.html' + AUTHORS_URL = 'authors/' + AUTHORS_SAVE_AS = 'authors/index.html' + + CATEGORY_URL = 'category/{slug}/' + CATEGORY_SAVE_AS = 'category/{slug}/index.html' + CATEGORYS_URL = 'categories/' + CATEGORYS_SAVE_AS = 'categories/index.html' + Translations ============