Sage Abdullah
5d5f6d55ec
Tweak docs for StreamField callable `preview_value`
...
You cannot use lambdas in migrations
2025-07-15 06:04:19 +10:00
Matt Westcott
8f92b1f4ac
Move wagtail.widget_adapters to wagtail.admin.telepath.widgets
2025-07-14 13:57:52 +01:00
Matt Westcott
fb36d7e992
Move wagtail.telepath to wagtail.admin.telepath
...
It references wagtailadmin/js/telepath/telepath.js and wagtail.admin.staticfiles, and we don't want wagtail core to depend on code in wagtail.admin. Also, we don't want to encourage use of this registry outside of admin views, as adapters registered here are likely to depend on admin-specific JS includes.
2025-07-14 13:57:52 +01:00
megatrron
429c3527b7
Update project template docs to include testing + add test file to template
...
- Added Default Tests for Root and Homepage Pages in Wagtail Starter Projects
- Updated tutorial documentation for wagtail start tests
- Closes #12953
2025-07-13 20:26:43 +10:00
Sage Abdullah
515ec4620c
Add form_attrs support to all StreamField blocks
2025-07-12 16:04:26 +01:00
Sage Abdullah
78433259be
Add new UI components section to reference docs
2025-07-12 15:00:45 +01:00
Sage Abdullah
6ea3bbbf64
Incorporate Typedoc docs build process into main docs build
2025-07-12 15:00:45 +01:00
Sage Abdullah
6aab8fb928
Update docs for WAGTAILADMIN_BASE_URL
2025-07-12 13:48:51 +01:00
Sage Abdullah
b548bf88bc
Allow StructBlocks to be collapsible
2025-07-12 12:22:39 +01:00
Nick Smith
80f205d61f
Handle help_text kwarg in FloatBlock ( #13206 )
...
Fixes #13205 .
2025-07-04 13:10:13 +01:00
Matt Westcott
305b63dd40
Add documentation for site setting permissions
2025-06-18 14:07:27 +01:00
Matt Westcott
36f8d83fb8
Fix jinja2 docs to reference preserve-svg rather than preserve_svg
...
As per https://github.com/wagtail/wagtail/pull/13125#pullrequestreview-2890949298
2025-06-11 16:42:07 +01:00
smark-1
405fa76288
Document `Block.is_previewable`
2025-05-23 11:17:02 +01:00
Vishesh Garg
d1fbb2e262
Add support for SVG when using jinja2 ( #13016 )
...
Fixes #12997
2025-05-16 11:51:19 +01:00
Alec Baron
05484a7784
Update RichTextBlock documentation
2025-05-15 14:41:00 +01:00
Sylvain Boissel
462673c3b0
Update customization.md
...
Fix field type for the example
2025-05-12 17:42:54 +01:00
Maciej Baron
b9e873fd0b
Cleaup docs
2025-05-12 15:22:38 +01:00
Maciek Baron
7ef898c801
Update docs/reference/signals.md
...
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciek Baron
3f13bb51ab
Update docs/reference/signals.md
...
Co-authored-by: LB (Ben Johnston) <mail@lb.ee>
2025-05-12 15:22:38 +01:00
Maciej Baron
36d611904b
Add description of init_new_page signal to docs
2025-05-12 15:22:38 +01:00
Sage Abdullah
9c4630b5aa
Document WorkflowMixin._workflow_states and its difference with workflow_states
2025-05-07 14:49:20 +01:00
Sage Abdullah
69940fc94a
Document RevisionMixin._revisions and its difference with revisions
2025-05-07 14:47:32 +01:00
Thibaud Colas
08c0ce9f45
Further document usage of API ?limit. Fix #12604
2025-05-06 13:29:15 +01:00
Sage Abdullah
3c28330e01
Deprecate UserListingButton and SnippetListingButton in favor of Button
2025-05-01 20:49:56 +01:00
Sage Abdullah
d6e6b015ab
Deprecate PageListingButton in favor of ListingButton
2025-05-01 20:49:56 +01:00
Matt Westcott
3e7c2b079a
Remove versionadded / versionchanged notes for 6.4
2025-04-25 14:26:59 +01:00
smark-1
1b9991cd46
Document page.move() in page reference ( #12761 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2025-04-22 14:36:17 +01:00
Andy Chosak
b376a7b65d
Don't duplicate snippets in "Snippets" menu
...
This change alters the behavior of the sidebar "Snippets" menu such that
the snippet index view doesn't include snippet models that have been
configured with their own menu item.
Currently, the "Snippets" menu doesn't appear if all snippet models have
their own menu items; however, if some models do and some don't, the
snippets index view lists all of them, causing some duplication in the
UI which could be confusing for editors.
This commit changes this behavior so that "Snippets" is only used to
edit those snippet models that aren't editable elsewhere.
A new setting (WAGTAILSNIPPETS_MENU_SHOW_ALL) has been added to always
show the snippets menu and all snippets models. This setting will allow
for continuation of the current behavior for those users that desire it.
Closes issue 11340.
2025-04-17 14:31:31 +01:00
Sage Abdullah
aff18f634f
Remove 6.2 versionchanged note in frontend cache docs
2025-04-15 09:37:37 +01:00
Matt Westcott
9f9aecfd61
Document removal of deprecated features in 7.0
2025-04-15 09:33:59 +01:00
Matt Westcott
9c24705b88
Release note / documentation for validate on publish
2025-04-15 09:15:06 +01:00
Matt Westcott
26e65b5c01
Change references to version 6.5 to 7.0
2025-04-10 12:56:11 +01:00
Sage Abdullah
f3e2084b3a
Document snippets requirement for features provided by model mixins ( #12999 )
2025-04-09 15:50:49 +01:00
LB
5b429e24d6
Ensure `insert_editor_js` documentation reflects common usage ( #13022 )
...
Fixes #13021
Relates to #2936
2025-04-09 12:14:10 +01:00
Baptiste Mispelon
c6c996b54c
Make all formbuilder field types accept a custom widget + add docs
...
Prior to this change, it was inconsistent whether passing
a `widget` argument as an option to a create_<field>_field()
method would work or not (it might work, or might result in a
TypeError caused by the duplicate argument).
2025-04-06 17:03:14 +10:00
SebCorbin
5c30b4211a
Support documented ability to override/extend icons in the userbar
...
Allow to override icons in userbar
2025-04-06 14:57:11 +10:00
LB
c663911b9c
Minor cleanup to documentation whitespace formatting
2025-04-06 14:32:00 +10:00
Matt Westcott
edf7c66fac
Mention third-party StreamField form builder packages in form builder docs
...
As per https://github.com/wagtail/wagtail/pull/12287#issuecomment-2769692508
2025-04-02 06:17:47 +10:00
Matt Westcott
103ea61702
Document that request_or_site is optional on BaseGenericSetting.load
2025-03-20 19:11:19 +07:00
Matt Westcott
1f210831dd
Relax model validation when saving pages as draft
2025-03-19 14:22:45 +00:00
smark-1
322d7e1620
Add documentation for setting the default privacy option on pages
2025-03-15 15:23:54 +10:00
Thibaud Colas
801b1bb067
Add more details of legacy rich text behavior
...
This is to hopefully make it easier to look up with search.
2025-02-06 16:34:49 +00:00
Aayushman Singh
4f37b011f5
Add WAGTAIL_ prefix to non-taggit settings
2025-02-04 10:34:25 +00:00
Sage Abdullah
251d1d188c
Expand docs for StreamField block previews
2025-02-03 16:43:29 +00:00
Sage Abdullah
f309a44075
Add reference docs for Block.get_template and Block.get_context
2025-02-03 16:43:29 +00:00
Matt Westcott
695ff86c87
Remove versionchanged note for ImageChooserBlock to ImageBlock migration
...
Leave other versionadded/versionchanged notes intact, as they relate to deprecated features that are not yet removed and should thus be left in place until 7.0.
2025-01-27 18:54:25 +00:00
LB
1dd3dbea87
Fix spelling of `CloudFront` in docs & release notes
2025-01-22 10:31:35 +00:00
LB
0bf909414a
Fix minor whitespace formatting issues in docs
2025-01-22 10:31:35 +00:00
Sage Abdullah
ac4bd79e40
Add initial docs for StreamField block previews
2025-01-20 17:35:06 +00:00
Matt Westcott
82c42d1ecc
Nest code snippets for string panel definitions inside the note
2025-01-06 19:29:44 +00:00