summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2017-08-04 10:39:29 +0100
committerGitHub <noreply@github.com>2017-08-04 10:39:29 +0100
commit1008f595b859cc769da755f92a5f39930bc35117 (patch)
tree17d32db9fbce8e9865a197adf55b1f619925ac78
parent6fb97937fd42af575ad2901de362ed9647b8e9ac (diff)
parent66bc9d2c11b694c22338e9c0d713d553cd1fa040 (diff)
Merge pull request #1100 from pazz/docs-theming
docs: mention 'content' part in threadline theming
-rw-r--r--alot/defaults/theme.spec5
-rw-r--r--docs/source/configuration/theming.rst7
2 files changed, 7 insertions, 5 deletions
diff --git a/alot/defaults/theme.spec b/alot/defaults/theme.spec
index ab237484..a316e320 100644
--- a/alot/defaults/theme.spec
+++ b/alot/defaults/theme.spec
@@ -26,8 +26,9 @@
[[threadline]]
normal = attrtriple
focus = attrtriple
- # order subwidgets are displayed. subset of {date,mailcount,tags,authors,subject,count}
- # every element listed must have its own subsection below
+ # list of subwidgets to display. Every element listed must have its
+ # own subsection below. Valid elements are authors, content, date,
+ # mailcount, tags, and subject.
parts = string_list(default=None)
[[[__many__]]]
normal = attrtriple
diff --git a/docs/source/configuration/theming.rst b/docs/source/configuration/theming.rst
index e7fda406..d98db52a 100644
--- a/docs/source/configuration/theming.rst
+++ b/docs/source/configuration/theming.rst
@@ -65,11 +65,12 @@ determines how to present a thread: here, :ref:`attributes <config.theming.attri
'focus' provide fallback/spacer themes and 'parts' is a (string) list of displayed subwidgets.
Possible part strings are:
+* authors
+* content
* date
* mailcount
-* tags
-* authors
* subject
+* tags
For every listed part there must be a subsection with the same name, defining
@@ -82,7 +83,7 @@ For every listed part there must be a subsection with the same name, defining
:alignment: how to place the content string if the widget space is larger.
This must be one of 'right', 'left' or 'center'.
-To "highlight" some thread lines (use different attributes than the defaults found in the
+To highlight some thread lines (use different attributes than the defaults found in the
'[[threadline]]' section), one can define sections with prefix 'threadline'.
Each one of those can redefine any part of the structure outlined above, the rest defaults to
values defined in '[[threadline]]'.