Add the default themes back in as packages

This commit is contained in:
Dougal Matthews
2015-06-23 20:42:03 +01:00
parent aa7c34e3a7
commit 0468754edb
4 changed files with 9 additions and 1 deletions

View File

@@ -112,7 +112,9 @@ class UtilsTests(unittest.TestCase):
self.assertEqual(
sorted(utils.get_theme_names()),
sorted(['mkdocs', 'readthedocs', ]))
sorted(['flatly', 'cerulean', 'slate', 'bootstrap', 'yeti',
'spacelab', 'united', 'readable', 'simplex', 'mkdocs',
'cosmo', 'journal', 'cyborg', 'readthedocs', 'amelia']))
@mock.patch('pkg_resources.iter_entry_points', autospec=True)
def test_get_themes_warning(self, mock_iter):

View File

@@ -2,5 +2,7 @@ click==4.0
Jinja2==2.7.1
livereload==2.3.2
Markdown==2.5
mkdocs-bootstrap==0.1.1
mkdocs-bootswatch==0.1.0
PyYAML==3.10
tornado==4.1

View File

@@ -2,5 +2,7 @@ click>=4.0
Jinja2>=2.7.1
livereload>=2.3.2
Markdown>=2.5
mkdocs-bootstrap>=0.1.1
mkdocs-bootswatch>=0.1.0
PyYAML>=3.10
tornado>=4.1

View File

@@ -62,6 +62,8 @@ setup(
'Jinja2>=2.7.1',
'livereload>=2.3.2',
'Markdown>=2.3.1,<2.5' if PY26 else 'Markdown>=2.3.1',
'mkdocs-bootstrap>=0.1.1',
'mkdocs-bootswatch>=0.1.0',
'PyYAML>=3.10',
'tornado>=4.1',
],