mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH 4/7] Documentation: change default highlight language to shell
Date: Fri,  1 Dec 2017 12:03:23 +0100	[thread overview]
Message-ID: <20171201110326.31598-5-s.hauer@pengutronix.de> (raw)
In-Reply-To: <20171201110326.31598-1-s.hauer@pengutronix.de>

There are many places where sphinx complains that blocks cannot
be hilghlighted in 'c' and in fact I am not aware of any C code
snippets in the documentation, so change the default highlighting
style to shell which fits our needs much better. With this we
get rid of many warnings while building the documentation.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 Documentation/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/conf.py b/Documentation/conf.py
index 0292c720a7..dbd4a80caa 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -259,4 +259,4 @@ texinfo_documents = [
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #texinfo_no_detailmenu = False
 
-highlight_language = 'c'
+highlight_language = 'sh'
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2017-12-01 11:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-01 11:03 Fix Documentation build warnings Sascha Hauer
2017-12-01 11:03 ` [PATCH 1/7] Documentation: arm-qemu-vexpress: Fix too short underline Sascha Hauer
2017-12-01 11:03 ` [PATCH 2/7] Documentation: Change many code blocks to no highlight Sascha Hauer
2017-12-01 11:03 ` [PATCH 3/7] Documentation: socfpga: Fix numbered list Sascha Hauer
2017-12-01 11:03 ` Sascha Hauer [this message]
2017-12-01 11:03 ` [PATCH 5/7] Documentation: defaultenv-2: Change highlight to make Sascha Hauer
2017-12-01 11:03 ` [PATCH 6/7] Documentation: remove :numbered: from lower level toctrees Sascha Hauer
2017-12-01 11:03 ` [PATCH 7/7] ARM: psci command: Add to misc group Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201110326.31598-5-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox