pelican/docs
Andy Pearce 39518e15ef Allow text substitutions when generating slugs
The `slugify()` function used by Pelican is in general very good at
coming up with something both readable and URL-safe. However, there are
a few specific cases where it causes conflicts. One that I've run into
is using the strings `C++` and `C` as tags, both of which transform to
the slug `c`. This commit adds an optional `SLUG_SUBSTITUTIONS` setting
which is a list of 2-tuples of substitutions to be carried out
case-insensitively just prior to stripping out non-alphanumeric
characters. This allows cases like `C++` to be transformed to `CPP` or
similar. This can also improve the readability of slugs.
2013-07-04 12:17:21 +01:00
..
_static add some docs written a long time ago 2011-11-30 21:11:50 +01:00
_themes update the theme (logo) 2011-04-26 00:40:16 +01:00
fr revert #523 2012-12-03 22:35:11 +01:00
changelog.rst Update changelog 2013-06-15 12:24:48 -07:00
conf.py Convert '.' and '..' to the less magical os.curdir and os.pardir 2013-03-21 12:44:44 -04:00
contribute.rst Drop python 3.2 support and move to python 3.3. 2013-06-02 16:23:36 +02:00
faq.rst Add more detail to Pygments FAQ entry. Fixes #821 2013-05-06 07:28:25 -07:00
getting_started.rst Merge pull request #795 from wking/read-file 2013-06-15 11:54:32 -07:00
importer.rst Merge pull request #881 from ben2367/patch-1 2013-05-14 11:36:14 -07:00
index.rst Minor documentation improvements 2013-04-16 10:13:47 -07:00
internals.rst add documentation for html reader 2013-01-28 21:50:09 -05:00
Makefile Add the docs 2010-10-13 23:08:08 +01:00
pelican-themes.rst Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
plugins.rst docs/plugins.rst: Document signal name changes 2013-06-12 17:37:21 -04:00
report.rst Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
settings.rst Allow text substitutions when generating slugs 2013-07-04 12:17:21 +01:00
themes.rst adds a 'strftime' jinja fiter that uses LOCALE 2013-04-21 18:00:12 -04:00
tips.rst Add more missing -s flags to tips doc page 2013-06-26 06:39:09 -07:00