* [ptxdist] [PATCH] doc: fix toc numbering, remove trailing dot
@ 2016-09-01 17:50 Robert Schwebel
0 siblings, 0 replies; only message in thread
From: Robert Schwebel @ 2016-09-01 17:50 UTC (permalink / raw)
To: ptxdist; +Cc: Robert Schwebel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-01 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 17:50 [ptxdist] [PATCH] doc: fix toc numbering, remove trailing dot Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox