Преглед на файлове

documentation minor fixes

LB Johnston преди 2 години
родител
ревизия
58095cde30
променени са 3 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      docs/extending/audit_log.md
  2. 1 1
      docs/reference/contrib/modeladmin/tips_and_tricks/reversing_urls.md
  3. 1 1
      docs/reference/contrib/redirects.rst

+ 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.