Sage Abdullah
a6a431a083
Return ScheduledForPublishLock from DraftStateMixin.get_lock()
...
Update docs to enforce that the LockableMixin should come last (but before RevisionMixin)
2023-01-19 14:07:54 +00:00
Sage Abdullah
18c140e8be
Add docs for WorkflowMixin
and enabling workflows for snippets
2023-01-19 14:07:51 +00:00
Jhonatan Lopes
7a6feb188f
Link django docs to stable version
2023-01-11 20:18:04 +10:00
LB Johnston
edb86a7e8f
Documentation - Fix missing links / images
...
Most of these are no longer applicable due to the introduction of Wagtail guide, where possible the new guide links are used now
- Re-add missing docs image for extending Draftail
- There is no Guide page (yet) for Inserting videos or images so those links have been removed
- Fix some additional reference issues where the page name and reference were causing issues
2023-01-05 12:08:27 +00:00
Jake Howard
0b72e3f598
Fix typo in docs
...
Co-authored-by: Matt Westcott <matthew@torchbox.com>
2023-01-04 16:13:56 +00:00
Jake Howard
0f209ee848
Add {% fullpageurl %}
for resolving absolute URLs to pages
2023-01-04 16:13:56 +00:00
Albina
5cf621660c
Refactor Wagtail userbar as a web component ( #9816 )
...
* Add a border around the userbar menu in Windows high-contrast mode so it can be identified
* Make sure browser font resizing applies to the userbar
* Switch userbar to initialise a Web Component to avoid styling clashes
* Refactor userbar stylesheets to use the same CSS loading as the rest of the admin
2022-12-27 16:55:19 +00:00
Sage Abdullah
8dcc292d26
Add docs for LockableMixin
and locking snippets
2022-12-14 11:46:57 +00:00
Joshua Munn
e84cdc4e2c
Add wagtail-streamfield-migration-toolkit docs
...
- Move RichText -> StreamField migration guide into
advanced/streamfield_migrations.md
2022-12-09 16:40:07 +00:00
Sage Abdullah
d3f9d2e9a3
Document ClusterableModel requirement for relations in RevisionMixin-enabled snippets
2022-12-08 11:46:59 +00:00
Matt Westcott
2cb12871ef
Fix RichTextField - StreamField migration example code
...
Follow-up to #8307 . It appears that the original code was designed for a StreamField setup where the `rich_text` block is not a RichTextBlock, but a StructBlock with a RichTextBlock child also named `rich_text`. #8307 correctly removed this redundant wrapper from page_to_streamfield, but there are corresponding changes required for the rest of the helper methods.
2022-12-08 07:39:37 +10:00
Sage Abdullah
1f143cf8ca
Create and show publish permissions for snippets with DraftStateMixin
applied ( #9711 )
2022-12-06 16:16:59 +00:00
Jeremy Thompson
4613fa2562
Fix RichTextField to StreamField example migration
2022-11-20 22:06:24 +10:00
Coen van der Kamp
26f5a4fcb1
Move custom image filter to extendig Wagtail section
2022-11-20 08:03:33 +10:00
Coen van der Kamp
1fb588c314
Add custom image operation example to docs
2022-11-20 08:03:33 +10:00
Damilola Oladele
b20b98907a
Grammatical adjustments of page models
usage guide to resolve issue #9398 ( #9399 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 15:01:31 +00:00
Albina Starykova
032f521bbf
Documentation - Improve grammar, spelling, and punctuation
2022-10-25 17:14:58 +10:00
Damilola Oladele
d2b9ca9430
Grammatical adjustments of searching
usage guide to resolve issue #9404 ( #9405 )
2022-10-21 00:27:59 +01:00
Dan Hayden
3ba25576f5
Add custom permissions section to permissions docs ( #9411 )
...
* Update docs/topics/permissions.md
2022-10-20 21:52:02 +10:00
Damilola Oladele
0fb66cd663
Grammatical adjustments of writing templates
usage guide to resolve issue #9400 ( #9401 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-20 08:29:09 +01:00
LB (Ben Johnston)
18371e2113
Documentation - adopt consistent sh
console code snippets ( #9321 )
2022-10-13 07:25:19 +01:00
LB Johnston
6fa4f8faca
Documentation - misc formatting clean up items
2022-10-13 05:46:26 +10:00
LB Johnston
2e8709e0d6
Documentation - update dead/redirected links
2022-10-11 20:44:08 +10:00
Dan Hayden
9bf7a7423a
Documentation - Fix register_snippet import path typo
2022-10-05 21:39:48 +10:00
Sage Abdullah
c94443fd96
Add docs on how to enable schedule publishing on snippets
2022-09-30 16:13:19 +01:00
Sage Abdullah
0a0bd30fad
Allow customising snippet listing columns with list_display
2022-09-28 10:39:48 +01:00
Matt Westcott
a81f7f76b9
Release note for #9203
2022-09-27 11:16:53 +01:00
Sage Abdullah
a7249a851f
Document SnippetViewSet and how to customise it
2022-09-27 10:18:18 +01:00
LB Johnston
75b64f70b5
Remove unused note
title from page inline panel docs
...
- add clarity to the docs that `admonition` is also not to be used
- title for this note is not required
- fixes #9125
2022-09-06 19:28:47 +10:00
Jake Howard
5108b5f82a
Add ability to set default configurable attributes to image tags
...
- Allow users to override the default attributes given to an image
- Update tests to account for new tags
- Add documentation for custom image attributes
- Recommend that loading=lazy & decoding=async be considered for performance in front-end sites
2022-08-25 18:20:45 +10:00
Sage Abdullah
d71a7ccdd4
Add links to topic guide from mixin reference docs
2022-08-21 07:18:27 +10:00
Sage Abdullah
4d27fd1f54
Add docs for saving draft changes of snippets
2022-08-21 07:18:27 +10:00
Sage Abdullah
9407be3d24
Add docs for saving revisions of snippets
2022-08-21 07:18:27 +10:00
Sage Abdullah
a3255c1ee9
Add docs for making snippets previewable
2022-08-21 07:18:27 +10:00
Sage Abdullah
cc0e14c38d
Improve snippets usage guide
...
- Use sentence case for headers in snippets usage guide
- Fix broken link to Django custom template tags
2022-08-21 07:18:27 +10:00
LB Johnston
666cc5e8e5
fix up legacy release note refs & use consistent format
...
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01:00
Thibaud Colas
ca7f23d176
Update InlinePanel and StreamField styles for new designs ( #8983 )
2022-08-12 13:17:40 +01:00
LB Johnston
3e6e9eb618
update docs/test spelling of colour
2022-08-12 17:29:16 +10:00
Xabier Bello
e29bb7e062
Update images.md
...
BASE_URL no longer works.
2022-08-12 17:17:33 +10:00
Thibaud Colas
eac5e0bc2c
Finish re-implementing form styles based on design feedback & code review
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
tijani
8cdb3f3a60
Added blocks_by_name, first_block_by_name methods to StreamValue
...
- A shortcut for accessing StreamField blocks by name
2022-07-20 17:13:20 +10:00
Dolidodzik
b131b4813e
replace latin abbreviations with english phrases & updated docs guidelines
...
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
Sandeep M A
bc0f561240
documentation - migrate reference/pages/theory + index to markdown
2022-07-05 22:05:20 +10:00
LB Johnston
77a8f76c97
documentation - add cross-reference to field panel permissions
...
- permissions page had no reference to the newly introduced permission kwarg on FieldPanel
- fix minor typo
2022-07-05 20:45:13 +10:00
Matt Westcott
ffda558015
Remove outdated references to old db search backend in docs
2022-07-04 07:59:23 +10:00
LB Johnston
d4f6773940
fix documentation markdown conversion issue
...
- introduced in #8569
2022-06-30 16:55:42 +10:00
LB Johnston
cda437804e
fix up markdown docs conversion issues
...
- introduced in #8759 & #8569
2022-06-30 16:36:37 +10:00
SilvestriStefano
f535a0cc43
Documentation - migrate reference/** files to markdown content
...
- relates to #8383
2022-06-30 09:57:26 +10:00
LB Johnston
86cb09a534
Documentation - fix streamfield reference issue
...
- myst was building a doc link `streamfield` and also had a ref link `streamfield` which was causing conflicts
2022-06-30 09:57:26 +10:00
LB Johnston
4e7accda55
documentation migrate rest of topics/search/** to markdown
2022-06-30 09:16:42 +10:00