Matt Westcott
f7fa20e600
Upgrade Sphinx to 7.3; use newer syntax for no-index directive and --fail-on-warning switch
2024-07-23 10:13:03 +01:00
Matt Westcott
a7d72f9fbf
Fix formatting errors
2024-07-19 00:21:39 +01:00
Chris Shenton
d1c020cd5f
Fix Page.copy ref; silence warnings due to Sphinx missing support for type hints
...
Builds upon HimanshuGarg47:fix/11972-documentation-build-with-errors
2024-07-18 23:15:58 +01:00
Himanshu Garg
9adf742580
fixes errors by adding aliases, double backtick, changing indexentry
2024-07-18 23:15:40 +01:00
Himanshu Garg
e02ca6ce62
fixes some of errors by removing directives
2024-07-18 23:13:26 +01:00
smark-1
95eac5ab78
Allow page to change private page options
2024-07-18 17:23:30 +01:00
Byron Peebles
e36c4d3fba
Documentation: Update some Sphinx-style code ref roles to MyST style ( #12030 )
2024-06-12 11:47:06 +02:00
smark-1
5c85c127e6
add docs for page view restriction ( #11917 )
2024-05-03 15:33:16 +01:00
Sage Abdullah
fd659ae767
Remove versionadded / versionchanged annotations for 6.0
2024-04-22 09:00:36 +07:00
Saksham Misra
53d6ea4491
Add documentation to support password required settings change
...
PASSWORD_REQUIRED_TEMPLATE -> WAGTAIL_PASSWORD_REQUIRED_TEMPLATE
DOCUMENT_PASSWORD_REQUIRED_TEMPLATE -> WAGTAILDOCS_PASSWORD_REQUIRED_TEMPLATE
2024-04-18 07:03:08 +10:00
Gordon Pendleton
06ed3ae6b8
Refactor page fetching logic to cache per request ( #11683 )
...
Adds two new helper static methods:
- `Page.route_for_request()` - to find the page route, given a request
object and a URL path
- `Page.find_for_request()` - to find the page given, a request object and a URL
path
2024-04-12 17:16:39 +01:00
Buraah
bfa29201c3
Docs - Page names & reference section - Update British spelling to American
...
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
Salvo Polizzi
dd338de6f3
docs: documented get_children in Page model reference
...
Fixes #11499
2024-01-23 07:49:40 +10:00
LB Johnston
bbcf1e74ee
Add changelog & a few fixes for #11194
...
Partially reverts commit 7fa335c20d
(fixing some issues with the URL updates)
2024-01-21 18:55:43 +10:00
Neeraj P Yetheendran
7fa335c20d
Update Django intersphinx references to new format
2024-01-21 10:09:21 +10:00
Shlomo Markowitz
f9c7df49c8
Add support for modifying default page listing ordering
2023-12-07 06:50:38 +10:00
Temidayo32
9349e2ad9f
Allow UniqueConstraint in place of unique_together for TranslatableMixin's system check
2023-11-10 17:29:26 +00:00
Matt Westcott
ab86351a8d
Remove legacy moderation system
2023-11-01 16:51:25 +00:00
Matt Westcott
cdac7dc7f5
Remove permission_type field from GroupPagePermission
2023-11-01 15:18:41 +00:00
Neeraj P Yetheendran
7239e11e0c
Avoid purging Revisions in use by third-party packages ( #10961 )
...
* Resolves #10678 Avoid purging Revisions in use by third-party packages
---------
Co-authored-by: MeghanaNalla <123588774+MeghanaNalla@users.noreply.github.com>
Co-authored-by: sage <laymonage@gmail.com>
Co-authored-by: Storm B. Heg <storm@stormbase.digital>
2023-10-19 12:52:29 +02:00
Sage Abdullah
065fab50a3
Deprecate submitted_revisions manager and save_revision's submitted_for_moderation kwarg
2023-10-05 10:35:27 +01:00
Sage Abdullah
5f70ebeaa1
Deprecate Revision.approve_moderation() and Revision.reject_moderation()
2023-10-05 10:18:48 +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
Daniel Kirkham
c895e9031b
Fix treebeard link
2023-05-14 07:40:13 +10:00
Matt Westcott
4a47bc611b
Remove old versionadded / versionchanged notes
2023-04-21 13:47:10 +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
Matt Westcott
a634045b6c
Remove remaining versionadded directives from before 4.2
2023-02-10 13:20:34 +00:00
Matt Westcott
18a574b520
Remove old versionadded / versionchanged directives from docs
2023-02-08 14:25:09 +00:00
Sage Abdullah
ad3ef5875d
Update docs and changelog to reflect changes for #9817
2023-01-19 14:52:34 +00:00
Sage Abdullah
18c140e8be
Add docs for `WorkflowMixin` and enabling workflows for snippets
2023-01-19 14:07:51 +00:00
Sage Abdullah
e1c6ae2d2b
Rename `Task.page_locked_for_user` to `Task.locked_for_user`
2023-01-19 14:06:04 +00:00
Sage Abdullah
d8f9d9869a
Rename `page_revision` to `revision` in `TaskState`
2023-01-19 14:06:03 +00:00
Sage Abdullah
8dcc292d26
Add docs for `LockableMixin` and locking snippets
2022-12-14 11:46:57 +00:00
Sage Abdullah
d71a7ccdd4
Add links to topic guide from mixin reference docs
2022-08-21 07:18:27 +10:00
Sage Abdullah
e4509f3432
Improve Revision model docs
2022-08-16 07:58:28 +10:00
Sage Abdullah
e864b9c4d1
Add docs for PreviewableMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
fb6ec3ad00
Add docs for DraftStateMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
cf3cea9a5b
Add docs for RevisionMixin
2022-08-16 07:58:28 +10:00
Sage Abdullah
3151200288
Improve Page model reference documentation
...
- Use inline code for `Locale` and `TranslatableMixin` headers to be consistent with other classes in the page
- Move `locale` and `translation_key` of `TranslatableMixin` to its own "Database fields" section
- Add missing periods in Page.update_aliases parameter description
2022-08-16 07:58:28 +10:00
LB (Ben Johnston)
aa55457c82
Convert reference pages documentation section to Markdown ( #8881 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-07-20 16:49:25 +01:00