0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/docs
Matt Westcott daa46b216c Fix BaseDeleteView subclassing for Django 4.0
As of Django 4.0 BaseDeleteView has switched to a new implementation based on FormMixin where custom deletion logic now lives in form_valid:
https://docs.djangoproject.com/en/4.0/releases/4.0/#deleteview-changes

Here we copy the Django 4.0 implementation for use on older Django versions to keep everything consistent, and provide a delete_action method for views that override wagtail.views.generic.models.DeleteView further (e.g. the workflow deactivation views).
2022-01-14 14:23:56 +00:00
..
_static fix all basic linting rules (mostly formatting) 2022-01-13 07:50:24 +00:00
_templates
advanced_topics Document the bound_blocks property of ListValue 2022-01-07 16:11:45 +00:00
contributing Update browser support targets following UI team discussion 2022-01-14 11:31:58 +10:00
editor_manual Add line in editor guide about secondary actions menu and update screenshot 2022-01-07 16:23:17 +00:00
extending Update the mentioning of default_app_config in the docs 2021-12-20 18:09:32 +00:00
getting_started Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
reference Update blocks.rst 2022-01-08 20:54:20 +10:00
releases Fix BaseDeleteView subclassing for Django 4.0 2022-01-14 14:23:56 +00:00
topics Formally deprecate old db search backends (#7651) 2021-10-28 10:53:32 +01:00
autobuild.sh
conf.py
favicon.ico
index.rst Add an 'Extending Wagtail' section to the docs 2021-08-03 16:07:18 +01:00
logo.png
Makefile
README.md
requirements.txt Docs: Update sphinx-wagtail-theme to 5.0.4 (#7296) 2021-06-30 11:18:07 +02:00
robots.txt
spelling_wordlist.txt
support.rst Link to Github discussion boards 2021-09-30 19:00:18 +10:00

Wagtail docs

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