0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/docs
Matt Westcott d6358836f2 Remove redundant render_as_field override from BaseChooserPanel
All built-in choosers use the standard field_panel_field.html template - it's probably been this way since Wagtail 1.0, when choosers got their own Widget classes rather than just being HTML decoration around a HiddenInput. As a result, the additional template context they pass (e.g. self.object_type_name) is redundant. If any third-party chooser panels exist that do need them (which is unlikely, if they just copy the existing ones), they should override render_as_field themselves to pass whatever context they need.
2022-03-02 15:55:25 +00:00
..
_static Remove all style customisations for documentation, except banner. Fix #7987 (#7990) 2022-02-18 13:41:18 +00:00
_templates Indent templates with djhtml 2022-02-12 01:15:51 +00:00
advanced_topics remove Hallo references in the documentation 2022-03-02 20:15:33 +10:00
contributing Tailwind package setup (#8003) 2022-02-27 16:08:38 +00:00
editor_manual Remove IE11 warning message and related files 2022-02-22 17:22:39 +10:00
extending remove Hallo references in the documentation 2022-03-02 20:15:33 +10:00
getting_started Remove 'db' and 'postgres_search' search backends 2022-02-08 19:00:47 +00:00
reference Fix / remove broken documentation links 2022-03-02 11:48:06 +00:00
releases Remove redundant render_as_field override from BaseChooserPanel 2022-03-02 15:55:25 +00:00
topics Replace content_json TextField with content JSONField in PageRevision 2022-02-25 11:39:47 +00:00
autobuild.sh
conf.py Reformat with black 2022-02-15 13:06:17 +00:00
favicon.ico
index.rst Update links to wagtail.io website to point to wagtail.org 2022-01-15 20:23:44 +10:00
logo.png
Makefile Fix broken "make livehtml" command 2021-02-04 11:55:02 -08:00
README.md Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
requirements.txt Docs: Update sphinx-wagtail-theme to 5.0.4 (#7296) 2021-06-30 11:18:07 +02:00
robots.txt Update docs links to reference new domain 2022-01-15 20:04:24 +10:00
spelling_wordlist.txt Add more names and jargon to spelling wordlist 2020-10-03 14:43:03 +01:00
support.rst Update email addresses for new .org domain (#7845) 2022-01-28 12:16:24 +00: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.