Skip to content

Commit

Permalink
Less confusing docs for compile_string
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent ac35e51 commit 21d63e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugin_categories.py
Expand Up @@ -306,7 +306,7 @@ def compile(self, source, dest, is_two_file=True, post=None, lang=None):
def compile_string(self, data, source_path=None, is_two_file=True, post=None, lang=None):
"""Compile the source file into HTML strings (with shortcode support).
Returns a tuple of at least two elements (html string, shortcode dependencies).
Returns a tuple of at least two elements: HTML string [0] and shortcode dependencies [last].
"""
# This function used to have some different APIs in different places.
raise NotImplementedError()
Expand Down

0 comments on commit 21d63e8

Please sign in to comment.