From dd338de6f3151ac782c9a05c3838b33c5fcd869c Mon Sep 17 00:00:00 2001 From: Salvo Polizzi Date: Mon, 22 Jan 2024 14:02:24 +0100 Subject: [PATCH] docs: documented get_children in Page model reference Fixes #11499 --- CHANGELOG.txt | 1 + docs/reference/pages/model_reference.md | 2 ++ docs/releases/6.0.md | 1 + 3 files changed, 4 insertions(+) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 142cde5680..3a2af9d33f 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -90,6 +90,7 @@ Changelog * Docs: Update contributing guide documentation and GitHub templates to better support new contributors (Thibaud Colas) * Docs: Update MyST documentation parser library to v 2.0.0 (Neeraj Yetheendran) * Docs: Add documentation writing guidelines for intersphinx / external links (LB (Ben) Johnston) + * Docs: Add `Page` model reference `get_children` documentation (Salvo Polizzi) * Maintenance: Update BeautifulSoup upper bound to 4.12.x (scott-8) * Maintenance: Migrate initialization of classes (such as `body.ready`) from multiple JavaScript implementations to one Stimulus controller `w-init` (Chiemezuo Akujobi) * Maintenance: Adopt the usage of of translate string literals using `arg=_('...')` in all `wagtailadmin` module templates (Chiemezuo Akujobi) diff --git a/docs/reference/pages/model_reference.md b/docs/reference/pages/model_reference.md index 7d11c07c7c..39beba447f 100644 --- a/docs/reference/pages/model_reference.md +++ b/docs/reference/pages/model_reference.md @@ -202,6 +202,8 @@ See also [django-treebeard](https://django-treebeard.readthedocs.io/en/latest/in .. automethod:: get_parent + .. automethod:: get_children + .. automethod:: get_ancestors .. automethod:: get_descendants diff --git a/docs/releases/6.0.md b/docs/releases/6.0.md index cc8cc13158..376b784790 100644 --- a/docs/releases/6.0.md +++ b/docs/releases/6.0.md @@ -128,6 +128,7 @@ Thank you to Thibaud Colas, Badr Fourane, and Sage Abdullah for their work on th * Add more CSS authoring guidelines (Thibaud Colas) * Update MyST documentation parser library to v 2.0.0 (Neeraj Yetheendran) * Add documentation writing guidelines for intersphinx / external links (LB (Ben) Johnston) + * Add `Page` model reference `get_children` documentation (Salvo Polizzi) ### Maintenance