Skip to content

Commit

Permalink
Refs #3 - Fixed project_slug and author_slug in docs/conf.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitbryon committed Jul 10, 2014
1 parent f539bf5 commit 9edd518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9edd518

Please sign in to comment.