mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
Update pygments to 2.15.1 and restore fixed shader syntax highlighting
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
# https://github.com/readthedocs/readthedocs.org/blob/master/requirements/docs.txt
|
||||
|
||||
# Base dependencies
|
||||
pygments==2.14.0
|
||||
pygments==2.15.1
|
||||
|
||||
# Sphinx base and RTD theme.
|
||||
sphinx==4.4.0
|
||||
|
||||
@@ -61,8 +61,7 @@ anywhere within the shader (including in uniform hints).
|
||||
``#define`` can also be used to insert arbitrary shader code at any location,
|
||||
while constants can't do that.
|
||||
|
||||
.. FIXME: An upstream bug (https://github.com/pygments/pygments/pull/2350), fixed but not published yet.
|
||||
.. code-block:: none
|
||||
.. code-block:: glsl
|
||||
|
||||
shader_type spatial;
|
||||
|
||||
|
||||
@@ -346,8 +346,7 @@ the console, extra indentation should **not** be added within ``#if``,
|
||||
|
||||
**Bad**:
|
||||
|
||||
.. FIXME: An upstream bug in Pygment related to #ifdef.
|
||||
.. code-block:: none
|
||||
.. code-block:: glsl
|
||||
|
||||
#define heightmap_enabled
|
||||
|
||||
|
||||
Reference in New Issue
Block a user