소스 검색

Fix incorrect code block tab syntax in Controllers documentation (#4643)

Hugo Locurcio 4 년 전
부모
커밋
6d45a91d1e
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      development/compiling/introduction_to_the_buildsystem.rst
  2. 1 2
      tutorials/inputs/controllers_gamepads_joysticks.rst

+ 1 - 1
development/compiling/introduction_to_the_buildsystem.rst

@@ -299,7 +299,7 @@ For instance, you may want to build Godot in parallel with the aforementioned
 
      set SCONSFLAGS=-j4
 
- .. code-tab:: powershell Windows (powershell)
+ .. code-tab:: powershell Windows (PowerShell)
 
      $env:SCONSFLAGS="-j4"
 

+ 1 - 2
tutorials/inputs/controllers_gamepads_joysticks.rst

@@ -108,7 +108,6 @@ use ``Input.is_action_pressed()``:
     # `jumping` will be a boolean with a value of `true` or `false`.
     var jumping = Input.is_action_pressed("jump")
 
-.. tabs::
  .. code-tab:: csharp
 
     // `jumping` will be a boolean with a value of `true` or `false`.
@@ -206,7 +205,7 @@ the ``SDL_GAMECONTROLLERCONFIG`` environment variable before running Godot:
     set SDL_GAMECONTROLLERCONFIG=your:mapping:here
     path\to\godot.exe
 
- .. code-tab:: powershell Windows (powershell)
+ .. code-tab:: powershell Windows (PowerShell)
 
     $env:SDL_GAMECONTROLLERCONFIG="your:mapping:here"
     path\to\godot.exe