Skip to content

Commit

Permalink
Update pygments to 2.15.1 and restore fixed shader syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsawer committed May 29, 2023
1 parent d72080c commit b3db4c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions tutorials/shaders/shader_reference/shader_preprocessor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 1 addition & 2 deletions tutorials/shaders/shaders_style_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b3db4c1

Please sign in to comment.