Skip to content
Permalink
Browse files
Documentation
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 8, 2016
1 parent d9609e3 commit b62f83a0859dbdd0b6781a70bd4f92a8df11b0f9
Showing with 8 additions and 2 deletions.
  1. +6 −0 CHANGES.txt
  2. +2 −2 nikola/plugins/command/theme.py
@@ -4,6 +4,12 @@ New in master
Features
--------

* Add ``nikola theme --new`` command for creating new themes (Issue #2231)
* Add ``nikola theme --copy-template`` command for copying templates
to customize them (Issue #2231)
* Add ``nikola theme --uninstall`` command for deleting themes (Issue #2231)
* Replace ``nikola install_theme`` with more capable ``nikola theme``
command (Issue #2231)
* Allow for customizing ``github_deploy`` commit messages with ``-m``
(Issue #2198)
* Commit to source branch automatically in ``github_deploy``
@@ -48,7 +48,7 @@ class CommandTheme(Command):

json = None
name = "theme"
doc_usage = "[-u] [-i theme_name] [-l] [-g] [-n] [-c]"
doc_usage = "[-i theme_name] [-r theme_name] [-l] [-u url] [-g] [-n theme_name] [-c template_name]"
doc_purpose = "manage themes"
output_dir = 'themes'
cmd_options = [
@@ -231,7 +231,7 @@ def do_uninstall(self, name):
except Exception:
LOGGER.error('Unknown theme: {0}'.format(name))
return 1
LOGGER.warning('About to uninstall plugin: {0}'.format(name))
LOGGER.warning('About to uninstall theme: {0}'.format(name))
LOGGER.warning('This will delete {0}'.format(path))
sure = utils.ask_yesno('Are you sure?')
if sure:

0 comments on commit b62f83a

Please sign in to comment.