On 12/10/2018 10.39, 'IRLMUC' via sphinx-users wrote:
> In my docs, I cite multiple terminal commands in multiple locations in 
> multiple files. I want to display all of these commands as bash, but I 
> don't want to have to specify ...
> 
> .. code-block:: bash
> 
> ... separately for every single code sample. I realized that I can add 
>
> .. highlight:: bash
>
> once to each file ... but I would still like to only have to make
> this setting once only per project ...

Maybe adding the second bit to rst_prolog in your config will work?

See
http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-rst_prolog

-- 
Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to