0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/docs
Andy Chosak 4e76241295 Fix: Review or revert to a page's initial revision
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
2022-11-23 08:45:39 +10:00
..
_static Move editor guide content to its own website 2022-10-28 10:16:32 +01:00
_templates use search input type for documentation search 2022-09-23 06:53:34 +10:00
advanced_topics Add ability to easily use Form Page fields in API 2022-11-18 06:58:16 +10:00
contributing Clean up unintentional whitespace in documentation 2022-11-20 23:21:56 +10:00
editor_manual Move editor guide content to its own website 2022-10-28 10:16:32 +01:00
extending Move custom image filter to extendig Wagtail section 2022-11-20 08:03:33 +10:00
getting_started Improve 'first wagtail site' tutorial (#9329) 2022-11-18 14:47:16 +00:00
public Add a security.txt file 2022-09-06 08:09:30 +10:00
reference Clean up unintentional whitespace in documentation 2022-11-20 23:21:56 +10:00
releases Fix: Review or revert to a page's initial revision 2022-11-23 08:45:39 +10:00
topics Fix RichTextField to StreamField example migration 2022-11-20 22:06:24 +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
Makefile Fix broken "make livehtml" command 2021-02-04 11:55:02 -08:00
README.md Documentation - update dead/redirected links 2022-10-11 20:44:08 +10:00
requirements.txt Documentation - update package versions 2022-10-17 10:07:44 +01:00
spelling_wordlist.txt Add more names and jargon to spelling wordlist 2020-10-03 14:43:03 +01:00
support.md Documentation - clean up small typos and whitespace issues 2022-10-13 22:41:33 +10:00

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.