0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 19:17:48 +01:00
Commit Graph

18117 Commits

Author SHA1 Message Date
Sage Abdullah
9d69863f3c
Use intersphinx to link to Sphinx docs 2024-11-05 10:44:39 +00:00
Sage Abdullah
795ca50dc8
Improve clarity between Markdown/MyST, rST, and Sphinx in docs guidelines
Add more emphasis on the divide between when to use Markdown and when to
use rST.

Also improve examples for versionadded and versionchanged directives.
2024-11-05 10:44:39 +00:00
Sage Abdullah
0dc1698857
Do not index autodoc examples 2024-11-05 10:44:39 +00:00
Sage Abdullah
443ccb23a8
Update docs for writing admonitions
It's MyST syntax, not rST, so it's OK to use it (sparingly).

Custom admonitions are possible with the `admonition` directive.
2024-11-05 10:44:38 +00:00
Sage Abdullah
81e6d79c5e
Improve guidelines for writing links in docs 2024-11-05 10:44:38 +00:00
Sage Abdullah
dddf9bfd81
Highlight Markdown vs reStructuredText differences for inline styles 2024-11-05 10:24:51 +00:00
Sage Abdullah
121624d5b1
Add syntax highlighting to code block examples 2024-11-05 10:24:51 +00:00
Jake Howard
71c93cb39c Remove non-unsert support for Postgres indexing (#12509)
PostgreSQL 9.4 support was dropped with the release of Django 3.0.
2024-11-04 18:19:29 +00:00
rahulsamant37
5e4c3f12c3 Remove defunct oEmbed providers (#12537)
Fixes #12054
2024-11-04 18:04:33 +00:00
Matt Westcott
0cab6641cc Release note for #12539 2024-11-04 15:40:44 +00:00
LB
f1597b61ed NPM package updates - minor updates & security fixes 2024-11-04 15:40:27 +00:00
LB
2e87f4ddec Update to Node 22 (active LTS)
- See https://nodejs.org/en/blog/release/v22.11.0
- Fixes #12531
2024-11-04 15:40:27 +00:00
LB
21206dc3e7 Clean up JS comments to be aligned to JSDoc where suitable 2024-11-04 21:14:04 +10:00
LB
6f34d3c299 Add changelog for #12503
Fixes #12498
2024-11-02 10:29:19 +10:00
Aayushman Singh
71a735476c Docs - images/documents title generation - update for CSP compliant examples
- Add helpful intro content, insure formatting of Python/JS is consistent
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Aayushman Singh
7f6e7d4062 Docs - Improve hooks & extending pages with CSP compliant examples
- Avoid `mark_safe` and use `format_html` where possible
- Avoid inline scripts, instead ensure the example shows external script usage
2024-11-02 10:29:19 +10:00
Aayushman Singh
b0479592ff Docs - Update extending/admin_views to have CSP compliant examples
- Changed style tag, to an external style file
- Also fixed minor spelling mistake "calender" -> "calendar" in line 190
- Avoid inline styles, instead ensure the example shows external style usage
2024-11-02 10:29:19 +10:00
Aayushman Singh
e28beb5b45 Docs - Writing guidelines - Add code example considerations
Start a small section to offer some guidance to ensure that code examples are secure, accessible and easier to use.
2024-11-02 10:29:19 +10:00
manu
b2cd95bf3b Fix sidebar page explorer transitions - avoid overflow 2024-11-02 09:59:21 +10:00
LB
114998fa21 Fix changelog for #12495 add changelog for #12510 2024-11-02 09:04:55 +10:00
LB
940ac10a9c Remove unused uuid module 2024-11-02 09:02:09 +10:00
Matt Westcott
54e1dc875a Update latest.txt for v6.3 2024-11-01 14:13:23 +00:00
Matt Westcott
793539d208 Fill in release date for 6.3 final 2024-11-01 13:21:07 +00:00
Matt Westcott
f110ddd934 Fill in release date for 6.2.3 2024-11-01 13:20:09 +00:00
Matt Westcott
e8ca33b023 Fill in release date for 5.2.7 2024-11-01 13:20:08 +00:00
Matt Westcott
a8e243d36b Release note for #12521 in 6.2.3 2024-11-01 13:14:05 +00:00
Matt Westcott
e931a40451 Release note for #12427 in 6.2.3 2024-11-01 12:50:09 +00:00
Matt Westcott
9ef8c834d2 Release note for #12367 in 6.2.3 2024-11-01 12:33:45 +00:00
Matt Westcott
0313522d38 Release note for #12367 in 5.2.7 2024-11-01 12:33:35 +00:00
Bojan Mihelac
cc1805dc86
Fix sub-menus within the main menu cannot be closed on mobile (#10747) 2024-11-01 12:10:53 +00:00
Ayaan
0913118da4
Replaced Twitter references in the docs with more appropriate alternatives (#12516). Fix #12483
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2024-11-01 11:03:54 +00:00
Thibaud Colas
bfd7e46496 Add release notes for #12521 2024-11-01 10:01:34 +00:00
Thibaud Colas
b1fc61a5a2 Add release notes for ##12521 2024-11-01 10:01:01 +00:00
Matt Westcott
593b95cad9
Document the ability to migrate from ImageChooserBlock to ImageBlock (#12518) 2024-11-01 09:58:42 +00:00
Matt Westcott
cda72797c5
Correctly handle None values in ImageBlock.bulk_to_python (#12517) 2024-11-01 09:56:54 +00:00
Thibaud Colas
d7ccda33f6
Update sphinx-wagtail-theme and search implementation (#12521) 2024-11-01 09:35:43 +00:00
LB
93384a062e Update CloneController - added/cleared events should not be cancelable
- While no code uses the event.preventDefault on these it's good practice to advise when cancelling will do nothing
2024-10-31 22:10:00 +10:00
LB
b903b572d9 Update changelog for 6.3 cherry-pick #12490 #12506 #12507
Offline formats cherry-picked to 6.3 release
2024-10-31 08:12:48 +10:00
LB
9b4999ed9d Add changelog for #12507
Fixes #12484
2024-10-31 07:52:49 +10:00
Sage Abdullah
49a1e56d10 Replace Torchbox with 'Wagtail core team and contributors' in docs config 2024-10-31 07:52:49 +10:00
Sage Abdullah
b6abec16d0 Add minimal epub metadata
Ref: 97a6a678c4/docs/conf.py (L380-L386)
2024-10-31 07:52:49 +10:00
Sage Abdullah
3802f8bf46 Fix remaining XHTML errors in docs to remove ePub build errors
Had to remove the <details> element for the section linking example in
the "Reference links" section.

This is because Sphinx/MyST renders a <section> element for each heading
and closes it when the next heading starts. If we create a heading
inside a <details> element, the <section> element will not be closed
until the next heading starts, which generates invalid HTML.
2024-10-31 07:52:49 +10:00
Sage Abdullah
78120671da Ensure docs template layout override is XHTML-compatible for ePub 2024-10-31 07:52:49 +10:00
Sage Abdullah
7955b815ce Fix HTML errors in wagtail_icons_table.txt 2024-10-31 07:52:49 +10:00
Sage Abdullah
a2c8e2b26f Suppress unknown files warning when building the ePub docs 2024-10-30 14:29:22 +00:00
Joel William
7b2b44b541 Documentation - Configure RTD to build all offline formats
- https://docs.readthedocs.io/en/stable/config-file/v2.html#formats

Fixes #12484
2024-10-30 18:26:31 +10:00
Jake Howard
f08a947f8e Bypass ALLOWED_HOSTS checks when resolving Site for request (#12129) 2024-10-29 19:41:23 +00:00
LB
3a5ae9c695 Docs - Ensure core models module level docstring does not appear in docs
Avoid the docstring being shared in the model reference documentation, this content is for core development only.
Update name of core modules.
2024-10-29 15:47:39 +00:00
LB
b6b9c003ff Doc - Fix minor spelling inconsistency 2024-10-29 15:47:39 +00:00
Srishti-j18
fd9b1ca22b Docs - Update spelling to US customize variants
Fixes #12476
2024-10-29 18:47:43 +10:00