From d91fc86e517d91c2d3b36a048d3b738a1c657072 Mon Sep 17 00:00:00 2001 From: enkore Date: Sun, 12 Oct 2014 01:41:23 +0200 Subject: [PATCH] Looks nicer. --- README.rst | 7 ------- docs/conf.py | 10 +++++++++- docs/i3pystatus.rst | 5 +++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index c52697d..cdaec2e 100644 --- a/README.rst +++ b/README.rst @@ -9,11 +9,6 @@ i3pystatus i3pystatus is a (hopefully growing) collection of python scripts for status output compatible to i3status / i3bar of the i3 window manager. -- `Release Notes`_ -- `Configuration`_ -- `Modules`_ -- `Contribute`_ - Installation ------------ @@ -40,8 +35,6 @@ Modules The module docs have been moved to `here `_ - - Release Notes ------------- diff --git a/docs/conf.py b/docs/conf.py index 491c063..bf4993c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,7 +20,15 @@ sys.path.insert(0, os.path.abspath('..')) # requires PyPI mock import mock -MOCK_MODULES = ["alsaaudio", "netifaces", "psutil", "lxml", "lxml.html", "lxml.cssselect", "praw", "gi.repository", "pywapi", "basiciw"] +MOCK_MODULES = [ + "alsaaudio", + "netifaces", "psutil", + "lxml", "lxml.html", "lxml.cssselect", + "praw", + "gi.repository", "dbus", + "pywapi", "basiciw" +] + for mod_name in MOCK_MODULES: sys.modules[mod_name] = mock.Mock() diff --git a/docs/i3pystatus.rst b/docs/i3pystatus.rst index 95afa45..4a6dbd5 100644 --- a/docs/i3pystatus.rst +++ b/docs/i3pystatus.rst @@ -3,7 +3,8 @@ Module reference .. The contents of this file are automatically extended in-memory by the module_docs extension (see docs/module_docs.py). - Do not change the whitespace after .. admonition. Sincerely, your past self. + Do not change the whitespace after the following directive. + Sincerely, your past self. -.. admonition:: All modules +.. note:: List of all modules;