mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-03-28 20:00:29 +00:00
Porting of Django PR #9325, which fixes Django ticket #28768. These changes were made in Django 2.1. This adds support for certain Slovak characters when auto-generating slugs for new pages. This logic is only triggered if settings.WAGTAIL_ALLOW_UNICODE_SLUGS is set to False; see http://docs.wagtail.io/en/v2.1.1/advanced_topics/settings.html#unicode-page-slugs To test, create a new page and enter a title like "Vŕba". The page's slug field will be automatically set to "vrba". In the previous behavior, this would instead be automatically set to "vba". https://github.com/django/django/pull/9325 https://code.djangoproject.com/ticket/28768 |
||
|---|---|---|
| .. | ||
| _static | ||
| advanced_topics | ||
| contributing | ||
| editor_manual | ||
| getting_started | ||
| reference | ||
| releases | ||
| topics | ||
| autobuild.sh | ||
| conf.py | ||
| favicon.ico | ||
| index.rst | ||
| logo.png | ||
| Makefile | ||
| README.md | ||
| requirements.txt | ||
| spelling_wordlist.txt | ||
| support.rst | ||
Wagtail docs
These are Sphinx docs, automatically built at http://docs.wagtail.io when the master branch is committed to Github. To build them locally, install Wagtail's development requirements (in the root Wagtail directory):
pip install -e .[testing,docs]
To build the documentation for browsing, from this directory run:
make html
then open _build/html/index.html in a browser.
To rebuild automatically while editing the documentation, from this directory run:
sphinx-autobuild . _build
The online editor at http://rst.ninjs.org/ is a helpful tool for checking reStructuredText syntax.