wagtail/docs
sag᠎e aa96dda15a
Fix dismissible SubMenuItem not showing the number badge when there's a new item (#10107)
Previously, we rely on the fact that the SubMenuItem itself is a dismissible. So, we decide how to show/hide the number badge based on the value for the SubMenuItem's dismissible ID on the server. However, this means that if the user has dismissed the SubMenuItem and we add new dismissible child items within it (e.g. update the ID for the 'What's new in Wagtail version' child item), the number badge will not show up. This commit changes the logic to show/hide the number badge based on whether there are any undismissed items within the SubMenuItem and whether the it has been opened or not.
2023-04-28 15:58:57 +01:00
..
_static Add decimal and regex icons 2023-04-18 02:49:04 +01:00
_templates Update Algolia DocSearch integration with new application and correct versioning setup 2023-03-10 15:57:17 +00:00
advanced_topics Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
contributing Add Wagtail 5 pypi classifier to docs 2023-04-27 13:59:44 +01:00
editor_manual Move editor guide content to its own website 2022-10-28 10:16:32 +01:00
extending Remove old versionadded / versionchanged notes 2023-04-21 13:47:10 +01:00
getting_started Formalise support for Django 4.2 2023-04-03 17:14:29 +02:00
public Move security.txt to wagtail.org (#9751) 2023-04-21 18:01:09 +01:00
reference Update docs 2023-04-25 16:06:40 +01:00
releases Fix dismissible SubMenuItem not showing the number badge when there's a new item (#10107) 2023-04-28 15:58:57 +01:00
topics added support for parsing multiple queries (#10342) 2023-04-26 11:31:31 +01:00
Makefile
README.md Documentation - update dead/redirected links 2022-10-11 20:44:08 +10:00
autobuild.sh
conf.py Documentation - update package versions 2022-10-17 10:07:44 +01:00
favicon.ico
index.rst Re-add editor guide link (#9539) 2022-10-28 15:42:04 +01:00
logo.png
requirements.txt Update Algolia DocSearch integration with new application and correct versioning setup 2023-03-10 15:57:17 +00:00
spelling_wordlist.txt
support.md Documentation - clean up small typos and whitespace issues 2022-10-13 22:41:33 +10:00

README.md

Wagtail docs

These are Sphinx docs, automatically built at https://docs.wagtail.org when the main branch is committed to Github. To build them locally, install Wagtail's development requirements (in the root Wagtail directory):

pip install -e .[testing,docs]

To build the documentation for browsing, from this directory run:

make html

then open _build/html/index.html in a browser.

To rebuild automatically while editing the documentation, from this directory run:

sphinx-autobuild . _build

The online MyST playground at Curvenote or the MyST-Markdown VS Code Extension are helpful tools for working with the MyST syntax.