ソースを参照

Fix code block highlighting in Logging

Some blocks were using syntax highlighting when they shouldn't.

(cherry picked from commit 3b11c2f5abbd959f62aaea939fe83f7ddf250006)
Hugo Locurcio 3 週間 前
コミット
8411020054
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:
     ...
     ...