Pārlūkot izejas kodu

Pin additional build requirements to avoid syntax highlighting issues

Yuri Sizov 2 gadi atpakaļ
vecāks
revīzija
64a60696bf
2 mainītis faili ar 11 papildinājumiem un 8 dzēšanām
  1. 10 7
      requirements.txt
  2. 1 1
      tutorials/plugins/editor/inspector_plugins.rst

+ 10 - 7
requirements.txt

@@ -1,16 +1,19 @@
-# Base dependencies
-
 # Sync with readthedocs:
 # https://github.com/readthedocs/readthedocs.org/blob/master/requirements/pip.txt
 # https://github.com/readthedocs/readthedocs.org/blob/master/requirements/docs.txt
+
+# Base dependencies
+pygments==2.14.0
+
+# Sphinx base and RTD theme.
 sphinx==4.4.0
 sphinx_rtd_theme==1.1.1
 
-# Code tabs extension for GDScript/C#
-sphinx-tabs==3.4.0
+# Sphinx extensions.
 
-# Custom 404 error page (more useful than the default)
+# Code tabs extension to display codeblocks in different languages as tabs.
+sphinx-tabs==3.4.0
+# Custom 404 error page (more useful than the default).
 sphinx-notfound-page==0.8.3
-
-# Adds Open Graph tags in the HTML `<head>` tag
+# Adds Open Graph tags in the HTML `<head>` tag.
 sphinxext-opengraph==0.7.5

+ 1 - 1
tutorials/plugins/editor/inspector_plugins.rst

@@ -243,7 +243,7 @@ followed by ``set_bottom_editor()`` to position it below the name.
     func refresh_control_text():
         property_control.text = "Value: " + str(current_value)
 
- .. code-tab:: none C#
+ .. code-tab:: csharp
 
     // RandomIntEditor.cs
     #if TOOLS