فهرست منبع

Merge pull request #11290 from Calinou/logging-fix-code-block-highlighting

Fix code block highlighting in Logging
Max Hilbrunner 2 روز پیش
والد
کامیت
99ac80db5b
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      tutorials/scripting/logging.rst

+ 3 - 3
tutorials/scripting/logging.rst

@@ -108,7 +108,7 @@ Crash backtraces
 When the project crashes, a crash backtrace is printed to the standard error stream. This is what
 When the project crashes, a crash backtrace is printed to the standard error stream. This is what
 it can look like in a build with debug symbols:
 it can look like in a build with debug symbols:
 
 
-::
+.. code-block:: none
 
 
     ================================================================
     ================================================================
     handle_crash: Program crashed with signal 4
     handle_crash: Program crashed with signal 4
@@ -135,7 +135,7 @@ it can look like in a build with debug symbols:
 
 
 On the other hand, without debug symbols, it will look like this instead:
 On the other hand, without debug symbols, it will look like this instead:
 
 
-::
+.. code-block:: none
 
 
     ================================================================
     ================================================================
     handle_crash: Program crashed with signal 4
     handle_crash: Program crashed with signal 4
@@ -256,7 +256,7 @@ or :ref:`push_warning() <class_@GlobalScope_method_push_warning>` in
 as the original message. This message is not available in the custom logger,
 as the original message. This message is not available in the custom logger,
 which is what prevents infinite recursion from occurring:
 which is what prevents infinite recursion from occurring:
 
 
-::
+.. code-block:: none
 
 
     While attempting to print a message, another message was printed:
     While attempting to print a message, another message was printed:
     ...
     ...