From 9edd518f1135f03e41a7243c0b65494a47a33b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Bryon?= Date: Thu, 10 Jul 2014 23:49:07 +0200 Subject: [PATCH] Refs #3 - Fixed project_slug and author_slug in docs/conf.py. --- template/docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/docs/conf.py b/template/docs/conf.py index 1865ee8..90967b6 100644 --- a/template/docs/conf.py +++ b/template/docs/conf.py @@ -50,10 +50,10 @@ # General information about the project. project = u'{% endraw %}{{ project_name }}{% raw %}' -project_slug = re.sub(r'([\w_.-]+)', u'-', project) +project_slug = re.sub(r'([\W_.-]+)', u'-', project) copyright = u'{% endraw %}{{ copyright }}{% raw %}' author = u'{% endraw %}{{ author }}{% raw %}' -author_slug = re.sub(r'([\w_.-]+)', u'-', author) +author_slug = re.sub(r'([\W_.-]+)', u'-', author) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the