Selaa lähdekoodia

documentation minor fixes

LB Johnston 2 vuotta sitten
vanhempi
commit
58095cde30

+ 1 - 1
docs/extending/audit_log.md

@@ -15,7 +15,7 @@ The audit log does not replace revisions.
 
 The `wagtail.log_actions.log` function can be used to add logging to your own code.
 
-```{eval-rest}
+```{eval-rst}
 .. function:: log(instance, action, user=None, uuid=None, title=None, data=None)
 
    Adds an entry to the audit log.

+ 1 - 1
docs/reference/contrib/modeladmin/tips_and_tricks/reversing_urls.md

@@ -122,4 +122,4 @@ parent for the new page. So, this isn't something you need to check or cater for
 your own code.
 ```
 
-To customise `url_helper` behaviour, see :ref:`modeladmin_url_helper_class`.
+To customise `url_helper` behaviour, see [](modeladmin_url_helper_class).

+ 1 - 1
docs/reference/contrib/redirects.rst

@@ -55,7 +55,7 @@ For more information, please see :meth:`~wagtail.models.Page.get_route_paths`.
 Disabling automatic redirect creation
 -------------------------------------
 
-.. versionupdated:: 4.0
+.. versionchanged:: 4.0
   When generating redirects, custom field values are now fetched as part of the
   initial database query, so using custom field values in overridden url methods
   will no longer trigger additional per-object queries.