What is the meaning of the Sphinx highlight_language configuration options if code-block :: does not have an optional argument?
It says that it sets hightlight_language by default, but if every time you specify the code, you need to specify the language, why does it need a configuration parameter?
Am I doing something wrong?
Edit: From the logs when I remove the argument for the code block.
C:\c\Sponge\SpongeDocs\source\plugin\scheduler.rst:25: ERROR: Error in "code-block" directive: 1 argument(s) required, 0 supplied. .. code-block:: taskBuilder.execute(new Runnable() { public void run() { logger.info("Yay! Schedulers!"); } });
source share