Describe the bug

I can see syntax highlighting in Visual Studio code but not when I generate through Sphinx: According to my requirements.txt, I'm using Sphinx==3.2.1 and Pygments==2.6.1:

image

How to Reproduce

NA

Expected behavior

No response

Your project

NA

Screenshots

No response

OS

Linux

Python version

3.8

Sphinx version

3.2.1

Sphinx extensions

No response

Extra tools

No response

Additional context

No response

0

This isn't python code, so it can't be highlighted as python code. Please look at the Pygments lexers, you probably want one of the bash or console lexers.

Also, please update to Sphinx 5.2.x, Sphinx 3 is old and unsupported.

A

0
© 2022 pullanswer.com - All rights reserved.