summaryrefslogtreecommitdiff
path: root/slugify
diff options
context:
space:
mode:
Diffstat (limited to 'slugify')
-rw-r--r--slugify/__init__.py2
-rw-r--r--slugify/slugify.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/slugify/__init__.py b/slugify/__init__.py
index 0859113..c351e2e 100644
--- a/slugify/__init__.py
+++ b/slugify/__init__.py
@@ -3,4 +3,4 @@ from .slugify import *
__author__ = 'Val Neekman @ Neekware Inc. [@vneekman]'
__description__ = 'A Python slugify application that also handles Unicode'
-__version__ = '3.0.2'
+__version__ = '3.0.3'
diff --git a/slugify/slugify.py b/slugify/slugify.py
index fcd1d22..f9bd23d 100644
--- a/slugify/slugify.py
+++ b/slugify/slugify.py
@@ -80,11 +80,11 @@ def slugify(text, entities=True, decimal=True, hexadecimal=True, max_length=0, w
"""
Make a slug from the given text.
:param text (str): initial text
- :param entities (bool):
- :param decimal (bool):
- :param hexadecimal (bool):
+ :param entities (bool): converts html entities to unicode (foo & bar -> foo-bar)
+ :param decimal (bool): converts html decimal to unicode (Ž -> Ž -> z)
+ :param hexadecimal (bool): converts html hexadecimal to unicode (Ž -> Ž -> z)
:param max_length (int): output string length
- :param word_boundary (bool):
+ :param word_boundary (bool): truncates to complete word even if length ends up shorter than max_length
:param save_order (bool): if parameter is True and max_length > 0 return whole words in the initial order
:param separator (str): separator between words
:param stopwords (iterable): words to discount