0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/docs
Dan Bentley dbe87bdc5d Fix check for duplicate FormField.clean_names
WagtailAdminFormPageForm.clean checks for duplicate fields by generating
a clean_name from a FormField's current label, catching duplicate labels.

However, once saved, a FormField's clean_name cannot change. It's
possible for clean_names to clash if a a field is renamed and add a new
field with the same name.

Updated duplicate check to take existing clean_name into account.

Refactored logic to avoid nested loops.
2022-10-06 07:18:49 +10:00
..
_static Update editor manual screenshots 2022-09-12 21:57:43 +10:00
_templates use search input type for documentation search 2022-09-23 06:53:34 +10:00
advanced_topics Fix some casing code in examples in API configuration docs 2022-10-01 17:56:08 +10:00
contributing Fix note markup in developing doc 2022-09-22 15:09:58 +10:00
editor_manual Revert chooser button labels to "Choose another X" 2022-09-14 07:40:38 +10:00
extending Update docs for renaming publish_scheduled_pages command to publish_scheduled 2022-09-29 10:28:36 +01:00
getting_started Add alternative text for all documentation screenshots 2022-09-12 21:57:43 +10:00
public Add a security.txt file 2022-09-06 08:09:30 +10:00
reference Add release note for #9279 and documentation for rebuild_references_index 2022-10-05 19:38:14 +01:00
releases Fix check for duplicate FormField.clean_names 2022-10-06 07:18:49 +10:00
topics Documentation - Fix register_snippet import path typo 2022-10-05 21:39:48 +10:00
autobuild.sh
conf.py Add a security.txt file 2022-09-06 08:09:30 +10:00
favicon.ico
index.rst
logo.png
Makefile
README.md auto-format core markdown files (#8603) 2022-06-01 23:08:56 +10:00
requirements.txt update Sphinx Wagtail Theme to 5.3.0 2022-08-24 06:07:47 +10:00
spelling_wordlist.txt
support.md documentation - migrate docs/support to markdown 2022-06-28 16:16:09 +10:00

Wagtail docs

These are Sphinx docs, automatically built at https://docs.wagtail.org when the main 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.