What is the point of the Sphinx highlight_language config option if code-block:: doesn't have an optional argument?
<p>What is the point of the Sphinx highlight_language config option if code-block:: doesn't have an optional argument? </p>

<p>It says that it sets the default hightlight_language, but if every time that you specify code you need to state the language, why does it need the config option?</p>

<p>Am I doing something wrong?</p>

<p><strong>Edit:</strong> From the logs when I remove the argument for codeblock.</p>

<pre><code>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!");
        }
    });
</code></pre>