Skip to content
Permalink
Browse files

Less confusing docs for compile_string

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent ac35e51 commit 21d63e886927cb3453fd9f6968afe8186a91d096
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugin_categories.py
@@ -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()

0 comments on commit 21d63e8

Please sign in to comment.
You can’t perform that action at this time.