mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCH] doc: fix toc numbering, remove trailing dot
Date: Thu,  1 Sep 2016 19:50:56 +0200	[thread overview]
Message-ID: <1472752256-27218-1-git-send-email-r.schwebel@pengutronix.de> (raw)

Modify toc level numbering to be "1.1" instead of "1.1.", which brings
html output closer to the latex variant (which IMHO looks
typographically more correct).

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 doc/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/conf.py b/doc/conf.py
index 46e8e98..50feaa2 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -45,6 +45,10 @@ source_suffix = '.rst'
 # The master toctree document.
 master_doc = 'index'
 
+# Fix section numbering: we want "1.1" instead of "1.1.",
+# so add two non-breakable spaces instead of a dot
+html_secnumber_suffix = u'\u00a0\u00a0'
+
 # General information about the project.
 project = u'PTXdist'
 copyright = u'2015, The Pengutronix Development Team'
-- 
2.8.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2016-09-01 17:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1472752256-27218-1-git-send-email-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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