Skip to content

Commit 7640ffa

Browse files
authored
Fixing documentation code tag for BuildingAndTestingDXC.rst (microsoft#5778)
Fixing documentation code tag for BuildingAndTestingDXC.rst doc file, Lack of new line between code and content makes the code dissapear. Removed also new line escape. Sample sh code is now visible. Results: ![image](https://github.com/microsoft/DirectXShaderCompiler/assets/789671/1163357c-2e28-4726-a1bc-9b6e6c71294e)
1 parent fb1f303 commit 7640ffa

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/BuildingAndTestingDXC.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ for the configuration process.
3232

3333
All of the most basic CMake configurations for DXC follow a similar format to:
3434

35-
.. code:: sh
35+
.. code-block:: sh
36+
3637
cmake <Repository Root> \
3738
-C <Repository Root>/cmake/caches/PredefinedParams.cmake \
3839
-DCMAKE_BUILD_TYPE=<Build Type> \
@@ -52,7 +53,8 @@ Generating a Visual Studio Solution
5253

5354
Open a Visual Stuido command prompt and run:
5455

55-
.. code:: sh
56+
.. code-block:: sh
57+
5658
cmake <Repository Root> \
5759
-B <Path to Output> \
5860
-C <Repository Root>/cmake/caches/PredefinedParams.cmake \
@@ -79,7 +81,8 @@ Generating Ninja or Makefiles
7981

8082
In your preferred terminal run:
8183

82-
.. code:: sh
84+
.. code-block:: sh
85+
8386
cmake <Repository Root> \
8487
-B <Path to Output> \
8588
-C <Repository Root>/cmake/caches/PredefinedParams.cmake \

0 commit comments

Comments
 (0)