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