mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
4e76241295
Currently it's not possible to review or revert to a page's initial revision because we don't log a PageLogEntry "wagtail.edit" event in certain cases: - When a page is first created, and saved as draft - When a page is first created, and published right away - When a page is first created, and submitted for moderation This commit alters the current behaviour so that a "wagtail.edit" event is created in those cases. This allows these initial revisions to be reviewed or reverted to in the page history view. This commit also updates the existing create_log_entries_from_revisions management command to try to populate these initial revisions there as well. The relevant unit tests have been updated. Fixes #8337 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
advanced_topics | ||
contributing | ||
editor_manual | ||
extending | ||
getting_started | ||
public | ||
reference | ||
releases | ||
topics | ||
autobuild.sh | ||
conf.py | ||
favicon.ico | ||
index.rst | ||
logo.png | ||
Makefile | ||
README.md | ||
requirements.txt | ||
spelling_wordlist.txt | ||
support.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.