Skip to content

Commit c52a73a

Browse files
authored
Merge pull request godotengine#8664 from bruvzg/win_cmds
Fix Windows build command highlighting.
2 parents f80b9fe + 58b9d83 commit c52a73a

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

contributing/development/compiling/compiling_for_windows.rst

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ Running SCons
132132
~~~~~~~~~~~~~
133133

134134
After opening a command prompt, change to the root directory of
135-
the engine source code (using ``cd``) and type::
135+
the engine source code (using ``cd``) and type:
136+
137+
.. code-block:: doscon
136138
137139
C:\godot> scons platform=windows
138140
@@ -215,11 +217,15 @@ Optionally, you can compile with the following for additional features:
215217
developer mode in Windows; otherwise it won't be used.
216218

217219
When building Godot, you will need to tell SCons to use Direct3D 12 and where to
218-
look for the additional libraries::
219-
220+
look for the additional libraries:
221+
222+
.. code-block:: doscon
223+
220224
C:\godot> scons platform=windows d3d12=yes dxc_path=<...> mesa_libs=<...>
221225
222-
Or, with all options enabled::
226+
Or, with all options enabled:
227+
228+
.. code-block:: doscon
223229
224230
C:\godot> scons platform=windows d3d12=yes dxc_path=<...> mesa_libs=<...> agility_sdk_path=<...> pix_path=<...>
225231
@@ -382,7 +388,9 @@ Creating Windows export templates
382388
---------------------------------
383389

384390
Windows export templates are created by compiling Godot without the editor,
385-
with the following flags::
391+
with the following flags:
392+
393+
.. code-block:: doscon
386394
387395
C:\godot> scons platform=windows target=template_debug arch=x86_32
388396
C:\godot> scons platform=windows target=template_release arch=x86_32
@@ -391,7 +399,9 @@ with the following flags::
391399
392400
If you plan on replacing the standard export templates, copy these to the
393401
following location, replacing ``<version>`` with the version identifier
394-
(such as ``3.1.1.stable`` or ``3.2.dev``)::
402+
(such as ``3.1.1.stable`` or ``3.2.dev``):
403+
404+
.. code-block:: none
395405
396406
%USERPROFILE%\AppData\Roaming\Godot\templates\<version>\
397407

contributing/development/compiling/introduction_to_the_buildsystem.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ generally with this naming convention::
9393

9494
godot.<platform>.<target>[.dev][.double].<arch>[.<extra_suffix>][.<ext>]
9595

96-
For the previous build attempt, the result would look like this::
96+
For the previous build attempt, the result would look like this:
97+
98+
.. code-block:: console
9799
98100
ls bin
99101
bin/godot.linuxbsd.editor.x86_64
@@ -103,7 +105,7 @@ whole editor compiled in, and is meant for 64 bits.
103105

104106
A Windows binary with the same configuration will look like this:
105107

106-
.. code-block:: console
108+
.. code-block:: doscon
107109
108110
C:\godot> dir bin/
109111
godot.windows.editor.64.exe

0 commit comments

Comments
 (0)