0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

524 Commits

Author SHA1 Message Date
Thibaud Colas
567b999548 Set up new color design tokens for light and dark themes 2023-04-19 13:38:23 +01:00
Sage Abdullah
64ea6dd8b8 Fix missing newline in editing interface customisation docs
Regression in 2abd7916af
2023-04-18 19:14:02 +10:00
Sage Abdullah
eb49f3cdf0 Add docs for FieldPanel's icon parameter 2023-04-18 02:49:04 +01:00
Sage Abdullah
b017157818 Fix extraneous period typo in page editing interface docs 2023-04-18 02:49:04 +01:00
Thibaud Colas
93732690a3 Update icon visuals to FontAwesome 6, with deprecation warnings for removed icons 2023-04-14 08:38:01 +01:00
Joshua Munn
196ed4162d Add SVG docs 2023-03-30 10:19:43 +01:00
Thibaud Colas
d856e702e1 Update documentation on icons management, with available icons 2023-03-28 16:13:35 +01:00
Andy Babic
f680f188f3 Add useful properties to Locale
- Update get_display_name() to always return a string
- Add documentation and unit tests
2023-03-21 08:02:40 +10:00
LB Johnston
65f2eaa4d2 Documentation - Clean up minor formatting issues 2023-03-21 08:02:25 +10:00
Satvik Vashisht
4ee60b5d47 Adopt the pageurl template tag over page.url where possible
- Fixes #10125
- So that determining page URL is more performant - see https://docs.wagtail.org/en/stable/advanced_topics/performance.html#page-urls
2023-03-18 07:35:27 +10:00
Lovelyfin00
2519dc84e8 adding the introduction to stimulus webinar video link to docs 2023-03-08 06:35:59 +10:00
Matt Westcott
a07fe20ceb Add documentation for customising StreamField validation 2023-03-01 12:07:13 +01:00
Matt Westcott
dc2afe89b9 Specify that h1, h5, h6 are disabled in rich text by default
Fixes #10124
2023-02-22 08:48:02 +00:00
Kenny Wolf
f50f04e129
Docs - Remove deprecated Settings Tab from documentation (#9813)
Since Wagtail 4.1 the Settings Tab and the corresponding scheduling of pages has been moved to the Status side panels. As mentioned in the release notes of Wagtail 4.1: [See here](https://docs.wagtail.org/en/stable/releases/4.1.html#new-ui-for-scheduled-publishing).

In the documentation section for customising the edit interface, this snippet is still available. When implemented, there is no effect and no error is shown.

Therefore this line is obsolete and only the two tabs 'Content' and 'Promote' should be available.

Co-authored-by: Julian Bigler <disperate@users.noreply.github.com>
2023-02-19 14:32:13 +10:00
Thibaud Colas
e3d0cc8099
Iterate on accessibility checker docs (#10064) 2023-02-13 14:27:25 +00:00
Albina
546a552ac2
Add more Axe rules to the accessibility checker (#10011)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-13 13:01:34 +00:00
LB (Ben Johnston)
8aa892bf0f
Add recent third party tutorials (Feb 2023) (#10059) 2023-02-10 23:02:02 -05:00
LB Johnston
93d3652a15 Documentation - fix whitespace issues 2023-02-11 08:29:13 +10:00
Matt Westcott
83cbd2fffa Add missing changed=False initialisation 2023-02-10 13:20:34 +00:00
Matt Westcott
635db6d850 Update richtext to streamfield migration snippet
Perform the data migration while it's still a rich text field, to avoid the need for `use_json_field=False`. Also work around the unavailability of `page.revisions` on frozen ORM models (which has been absent since 4.0, since it's now a property on RevisionMixin rather than a true relation).
2023-02-10 13:20:33 +00:00
Coen van der Kamp
619f395980 Add new "Icons" page for icons customisation and reuse across the admin interface (#6028)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-10 07:22:45 +00:00
Matt Westcott
18a574b520 Remove old versionadded / versionchanged directives from docs 2023-02-08 14:25:09 +00:00
Albina
d093a78cec
Accessibility checker documentation (#10029) 2023-02-06 12:38:18 +00:00
Matt Westcott
b735700ddf Release note for #9935 in 4.1.x 2023-02-03 17:54:55 +00:00
Daniel Kirkham
161e95f4cc Add Reference Index documentation 2023-02-03 17:36:30 +00:00
Thibaud Colas
7339f6c3d1
Update guide.wagtail.org links to use most up-to-date URL and page name, with "latest" redirect 2023-02-03 11:13:15 +00:00
LB Johnston
9e016c17b8 Documentation - whitespace formatting fixes
- Includes small fix for #9969 missing space
2023-01-28 06:59:01 +10:00
Matt Westcott
04df875d17 Fix assertCanCreate to publish by default
Fixes #9939

Also remove the mentions of redirects from the documentation - the fact that the method has to check for a different redirect URL is an internal implementation detail, and not relevant to what the assertion is intending to test (namely that a page is successfully created).
2023-01-25 08:14:15 +10:00
4the4ryushin
529d2feb49 Add docs example for how to configure API renderer_classes
- Update docs/advanced_topics/api/v2/configuration.md
- Fixes #6066
- Fix up spelling of customise (UK English not US)
2023-01-19 20:43:45 +10:00
Sandil Ranasinghe
3ed84b36da make streamfield migration names from operations
- `operation_name_fragment` property added to operations
- `migration_name_fragment` property added to MigrateStreamData
- added tests, docs updated
- BaseBlockOperation inherits from `abc.ABC`
2023-01-18 19:29:56 +00:00
Jhonatan Lopes
7a6feb188f Link django docs to stable version 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
a045bc38c4 Change Facebook company name to Meta 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
68900b069a Change "note that.." to a note 2023-01-11 20:18:04 +10:00
Jhonatan Lopes
532f17bad7 Remove broken Divio bakery demo 2023-01-11 20:18:04 +10:00
Albina
a37c4bab3d
Re-implement design system colors so HSL values exactly match the desired RGB. Fix #9571 (#9856)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Fixes https://github.com/wagtail/wagtail/issues/9571
2023-01-10 08:31:51 +00: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
0f209ee848 Add {% fullpageurl %} for resolving absolute URLs to pages 2023-01-04 16:13:56 +00:00
LB Johnston
8678cad90b Update third party tutorials for December 2022 2023-01-03 10:13:51 +00:00
LB Johnston
da90061ca8 Docs - formatting - clean up whitespace 2022-12-11 18:43:50 +10:00
Damascene
5d78e03084 Docs - Update PASSWORD_REQUIRED_TEMPLATE example
- Add messaging for signed in users that do not have permission for a page
2022-12-11 15:33:30 +10:00
Matt Westcott
f635038e13 Release note for StreamField data migration helpers (#9694) 2022-12-09 16:40:07 +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
LB Johnston
3d484e133d Update icon template to allow classname
- Preserve the existing `class_name` behaviour in most other cases
- Update only docs reference to use `classname`
- Relates to #6107 & #6028
2022-12-09 20:13:33 +10:00
Sævar Öfjörð Magnússon
629b8e7a55 Add ability to easily use Form Page fields in API
Improve documentation. Adding information about how to retrieve form fields from the API.
Include the API fields on the form field model
2022-11-18 06:58:16 +10:00
4the4ryushin
35a2f2cb7e Add purge_embeds management command
- Fixes #1267
- Caching OEmbed markup prevents markup changes for existing embeds so allow an easy way to clear these if needed
2022-11-11 08:00:50 +10:00
Jake Howard
66421dac13
Performance page cleanup (#9362)
* Clean up the performance page structure

Many of the sections mentioned here will improve performance for much more than just the editor experience.

* Link to Django's performance page
2022-10-28 10:33:00 -04:00
Jake Howard
c6afb0069d Performance docs - Mention the importance of passing request and current_site to get_url
- Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
2022-10-28 06:24:38 +10:00
DokuaAsiedu
af9f7ecbb3 Add docs & unit tests for assertCanCreate with publish (#9458)
- Builds on #9458
2022-10-27 07:54:32 +10:00
Ogunbanjo oluwadamilare
1428333af8 Documentation - added contributing translations guide
- Fixes #7115
2022-10-26 08:29:29 +10:00
Toyibat Adele
33c381f95c
Corrected typos and added punctuation marks to sentences missing them. (#9422)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-25 07:26:59 +01:00