Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Documentation
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 8, 2016
1 parent d9609e3 commit b62f83a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
Expand Up @@ -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``
Expand Down
4 changes: 2 additions & 2 deletions nikola/plugins/command/theme.py
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit b62f83a

Please sign in to comment.