[llvm] 473aa8e - [llvm][docs] Fix code-block in the testing guide

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 24 06:56:54 PST 2022


Author: David Spickett
Date: 2022-01-24T14:56:31Z
New Revision: 473aa8e10c49aeed7083a53f275176c5831711b3

URL: https://github.com/llvm/llvm-project/commit/473aa8e10c49aeed7083a53f275176c5831711b3
DIFF: https://github.com/llvm/llvm-project/commit/473aa8e10c49aeed7083a53f275176c5831711b3.diff

LOG: [llvm][docs] Fix code-block in the testing guide

Without a langauge name it's an error (with some verisons of Sphinx
it seems) or the block is simply missing in the output.

Added: 
    

Modified: 
    llvm/docs/TestingGuide.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index 6449661e5d38a..d0f890dd0a097 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -294,7 +294,7 @@ which first check the ``NOTE:`` line exists and matches the script name.
 These are the most common scripts and their purposes/applications in generating
 assertions:
 
-.. code-block::
+.. code-block:: none
 
   update_analyze_test_checks.py
   opt --analyze --costmodel


        


More information about the llvm-commits mailing list