Sage Abdullah
31ed0f1707
Make recommendations to add GenericRelation in snippets more explicit
2023-12-06 07:39:43 +10:00
Kalob Taulien
fa1d79a432
End tag typo fix
...
Documentation typo. ¯\_(ツ)_/¯
2023-11-30 06:52:28 +10:00
Damilola Oladele
7e774971fa
Documentation: GSoD - A complete tutorial on how to build your Portfolio site with Wagtail ( #11217 )
...
Co-authored-by: Meagen Voss <45881480+vossisboss@users.noreply.github.com>
2023-11-17 16:39:37 +00:00
LB Johnston
2e2e8f4452
Minor documentation formatting (Prettier)
2023-11-13 09:53:38 +11:00
Matt Westcott
9fe2e6a419
Fix code example for {% picture ... as ... %} tag - fixes #11186
2023-11-06 16:35:28 +00:00
Matt Westcott
f71ecd9a75
Remove remaining occurrence of use_json_field
2023-11-02 17:05:41 +00:00
Matt Westcott
c49ec1bb06
Remove use_json_field parameter from StreamField
2023-11-01 16:52:20 +00:00
Matt Westcott
605c9cf1a6
Drop support for Elasticsearch 5 and 6
2023-11-01 14:57:15 +00:00
Thibaud Colas
567e84b4ea
Update image documentation to have more details for picture and srcset_image tags ( #11167 )
2023-11-01 12:11:46 +00:00
Jake Howard
daa82eb8d0
Note that the admin should be limited to "trusted" users
2023-10-31 18:39:11 +00:00
Sage Abdullah
31334f212f
Refer to ModelViewSet docs for similar SnippetViewSet customisations
2023-10-31 17:25:21 +00:00
Sage Abdullah
c7d4526826
Shorten links in snippet views customisation docs by setting currentmodule
2023-10-31 17:25:21 +00:00
Vedant Pandey
837d733097
Add search_index option to control search indexing of StreamField blocks ( #11135 )
2023-10-31 11:42:16 +00:00
Matt Westcott
aea258248c
Remove versionadded / versionchanged annotations for 5.1
2023-10-20 14:47:53 +01:00
Thibaud Colas
4bfbbae405
Add picture tag implementation and tests
2023-10-17 16:09:06 +01:00
Paarth Agarwal
41dac89e1d
Add srcset_image tag for responsive images
2023-10-17 16:09:06 +01:00
LB Johnston
1c4e69dbce
Add better docs & cross-linking for how PanelGroup permission kwarg works
...
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
Matt Westcott
30a489a51c
Document support for OpenSearch
...
Fixes #7920
2023-09-20 07:17:58 +10:00
LB Johnston
a19bae886d
Format markdown files
2023-08-31 08:21:36 +10:00
Matt Westcott
151a386ff5
Add note to clarify that blocks are not interchangeable with model fields
...
Prompted by https://stackoverflow.com/questions/76973112/unknown-fields-specified-for-a-page-model-in-wagtail-at-content-panels/76973226?noredirect=1#comment135693718_76973226 and similar misconceptions people have made in the past.
2023-08-30 18:47:57 +01:00
Sage Abdullah
9a2d53d0cf
Move SnippetViewSet.list_per_page to ModelViewSet
2023-08-30 10:31:16 +01:00
Sage Abdullah
66216852b8
Move SnippetViewSet.list_export and export_filename to ModelViewSet
2023-08-30 10:30:17 +01:00
Sage Abdullah
cd222898fd
Move SnippetViewSet.list_diplay definition to ModelViewSet
2023-08-22 16:34:51 +01:00
Sage Abdullah
fad37fd232
Add docs for migrating from modeladmin to snippets
2023-07-26 16:04:35 +01:00
Jake Howard
69724e4e3a
Create preview-aware & page-enhanced cache template tags
...
This can be used in other places, but ensures caches are invalidated
whenever something about a page changes.
- Add a util to get wagtail-specific fragment cache keys
- Don't pollute context when injecting site variable
- Add documentation on wagtail fragment caching
- Define an intelligent cache key for pages
- Allow the components of the cache key to be easily modified
- Note that some manual changes may not create a new cache key
Co-authored-by: Andy Babic <andyjbabic@gmail.com>
Closes #5074
2023-07-20 08:24:09 +10:00
Sage Abdullah
64f496a2e1
Remove old versionadded / versionchanged notes
2023-07-19 17:53:26 +10:00
sgfost
61594a2616
Add docs for managing stored queries in searchpromotions
...
and update docs about the search -> searchpromotions migration.
2023-07-18 15:00:56 +01:00
Sage Abdullah
0bebe532e8
Add docs and tests for snippets inspect view
2023-07-17 17:19:11 +01:00
Matt Westcott
d05c0c1bc1
Update docs to cover Elasticsearch 8 support
2023-07-17 16:18:37 +01:00
LB Johnston
3d471edbcf
Clean whitespace formatting in docs
...
- Update formatting with prettier in the documentation
2023-07-17 22:24:54 +10:00
LB Johnston
0f97838381
Documentation - revise usage of e.g.
...
- Replace one usage of 'eg' with more suitable alternatives
- As per guidelines https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#latin-phrases-and-abbreviations
2023-07-17 15:13:30 +10:00
zerolab
96c3d719c2
Change the default WebP quality to 80
...
This is the value most used, and is the default in Willow too
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
zerolab
ce4afcd578
Update documentation for AVIF support
...
Co-Authored-By: Aman Pandey <74553951+salty-ivy@users.noreply.github.com>
2023-07-14 16:17:53 +01:00
Sage Abdullah
0550b03dad
Allow customising the spreadsheet file name via SnippetViewSet.export_filename
2023-07-12 09:18:11 +01:00
Sage Abdullah
428b7914e2
Add docs and tests for exporting snippets listing
2023-07-12 09:18:09 +01:00
Vitaly Babiy
1042568e5c
Documentation - Fix mMissing Menu Prefix in example ( #10599 )
2023-06-27 07:53:52 +10:00
LB Johnston
96a494581c
Documentation - clean up last two internal refs to use underscore
...
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
Matt Westcott
c8064466d4
Reword note telling people not to use autocomplete for ordinary search
...
Prompted by https://stackoverflow.com/q/76324437/1853523 - while we want to encourage people to use the most appropriate search method, telling them outright not to use autocomplete is a bit extreme. Remove the note in favour of some gentler advice.
2023-06-05 09:21:21 +01:00
LB Johnston
d5bd828b8e
Docs - update Django urls to shorthand method
2023-06-01 16:50:03 +01:00
LB Johnston
5292f7dc1f
Docs - fix whitespace formatting (Prettier)
2023-05-30 07:25:21 +10:00
Sage Abdullah
f005990b4a
Apply suggestions from code review
2023-05-24 11:06:00 +01:00
Sage Abdullah
9107fdd8aa
Add documentation for using inline models with snippets
2023-05-24 11:06:00 +01:00
Sage Abdullah
4d49ebe061
Clarify that TaggableManager should only be used if RevisionMixin is not applied
2023-05-24 11:06:00 +01:00
Sage Abdullah
f2accc89e3
Add link to snippets icon customisation from icons documentation
2023-05-24 11:06:00 +01:00
Sage Abdullah
6ec734f836
Add separate headings for each snippets view customisation
2023-05-24 11:06:00 +01:00
Sage Abdullah
88c6cfcba6
Restructure snippets customisation example to show the viewset before explaining the attributes
2023-05-24 11:06:00 +01:00
Sage Abdullah
d2c33b7513
Add intro paragraphs for rendering snippets and optional features
2023-05-24 11:06:00 +01:00
Sage Abdullah
8f9c908af7
Explicitly recommend using register_snippet as a function
2023-05-24 11:06:00 +01:00
Sage Abdullah
fb734e9184
Split snippets documentation into separate pages
2023-05-24 11:06:00 +01:00
Sage Abdullah
939b14b33c
Move snippets.md docs to its own directory
2023-05-24 11:06:00 +01:00