From 8ea4bdeb55c9af9e411898fb6fbe9959bfafb9a8 Mon Sep 17 00:00:00 2001 From: enkore Date: Wed, 17 Jun 2015 16:12:10 +0200 Subject: [PATCH] Minor formatting change --- docs/i3pystatus.rst | 6 ++++-- docs/module_docs.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/i3pystatus.rst b/docs/i3pystatus.rst index dacbbb7..21dd060 100644 --- a/docs/i3pystatus.rst +++ b/docs/i3pystatus.rst @@ -4,18 +4,20 @@ Module reference .. Don't list *every* module here, e.g. cpu-usage suffices, because the other variants are listed below that one. +.. rubric:: Module overview: + :System: `clock`_ - `disk`_ - `load`_ - `mem`_ - `cpu_usage`_ :Audio: `alsa`_ - `pulseaudio`_ :Hardware: `battery`_ - `backlight`_ - `temp`_ :Network: `network`_ :Music: `now_playing`_ - `mpd`_ -:Websites & stuff: `weather`_ - `bitcoin`_ - `reddit`_ - `parcel`_ +:Websites: `weather`_ - `bitcoin`_ - `reddit`_ - `parcel`_ :Other: `mail`_ - `pyload`_ - `text`_ - `updates`_ :Advanced: `file`_ - `regex`_ - `runwatch`_ - `shell`_ .. autogen:: i3pystatus Module - .. note:: List of all modules: + .. rubric:: Module list: .. _mailbackends: diff --git a/docs/module_docs.py b/docs/module_docs.py index cda2b0f..e415fa9 100644 --- a/docs/module_docs.py +++ b/docs/module_docs.py @@ -132,7 +132,7 @@ def generate_automodules(path, name, basecls): contents = [] for mod in modules: - contents.append(" * :py:mod:`~{}`".format(mod[0])) + contents.append("* :py:mod:`~{}`".format(mod[0])) contents.append("") for mod in modules: