Skip to content

Commit

Permalink
Support docs referencing old theme name
Browse files Browse the repository at this point in the history
- add docs-italia-theme directory
- add docs-italia-theme in setup.py packages
- add get_html_theme_path function
  • Loading branch information
pdavide committed Aug 8, 2018
1 parent a6457e3 commit 99b4933
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs-italia-theme/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is here for compatibility because the
# theme changed his name to docs_italia_theme

"""Docs Italia theme"""

def get_html_theme_path():
return None
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description = __doc__,
long_description = codecs.open('README.md', 'r', 'utf-8').read(),
zip_safe = False,
packages = ['docs_italia_theme'],
packages = ['docs_italia_theme', 'docs-italia-theme'],
package_data = {'docs_italia_theme': [
'theme.conf',
'*.html',
Expand Down

0 comments on commit 99b4933

Please sign in to comment.