fix #46
[rainbowstream.git] / docs / index.rst
index 004f3aa7d83ba26f87c41f5ab6b6ffaf180e3e9d..7d280f9b4a812721a1572ef17c082d54ed2bd8f6 100644 (file)
@@ -42,7 +42,7 @@ Use `virtualenv`_
 Troubleshooting\r
 ^^^^^^^^^^^^^^^\r
 \r
-If you use Linux, you might need to install some packages if you haven't already. \r
+If you use Linux, you might need to install some packages if you haven't already.\r
 For debian-based distros, these can be installed with\r
 \r
 .. code:: bash\r
@@ -59,7 +59,7 @@ If you are in this case, I recommend taking a look at `Issue #10`_ and let me kn
 \r
 If installation in *the quick way* doesn't work:\r
 \r
--  `sudo pip uninstall rainbowstream`\r
+-  ``sudo pip uninstall rainbowstream``\r
 -  use the *virtualenv way* above\r
 -  `create an issue`_ and provide:\r
 \r
@@ -87,9 +87,9 @@ You can try it with:
 \r
     rainbowstream -iot # Or rainbowstream --image-on-term\r
 \r
-You also can change the config key ``IMAGE_ON_TERM`` to ``True`` inside the app \r
-to enable above feature, \r
-change ``IMAGE_SHIFT`` to set image's margin (relative to your terminal's width) \r
+You also can change the config key ``IMAGE_ON_TERM`` to ``True`` inside the app\r
+to enable above feature,\r
+change ``IMAGE_SHIFT`` to set image's margin (relative to your terminal's width)\r
 or ``IMAGE_MAX_HEIGHT`` to control max height of every image.\r
 (see `config management`_ section).\r
 \r
@@ -143,6 +143,8 @@ Here is full list of supported command:
 \r
 -  ``allrt 12 20`` will list 20 newest retweets of the tweet with *[id=12]*. If the number of retweets is not specified, 5 newest retweets will be listed instead.\r
 \r
+-  ``conversation 12`` will show the chain of replies prior to the tweet with *[id=12]*.\r
+\r
 -  ``rep 12 Really`` will reply *‘Really’* to the tweet with *[id=12]*.\r
 \r
 -  ``fav 12`` will favorite the tweet with *[id=12]*.\r
@@ -159,11 +161,9 @@ Here is full list of supported command:
 \r
 **Direct Messages Commands**\r
 \r
--  ``inbox`` will show inbox messages. ``inbox 7`` will show newest 7\r
-   messages.\r
+-  ``inbox`` will show inbox messages. ``inbox 7`` will show newest 7 messages.\r
 \r
--  ``sent`` will show sent messages. ``sent 7`` will show newest 7\r
-   messages.\r
+-  ``thread 2`` will show full thread with [id=2].\r
 \r
 -  ``mes @dtvd88 hi`` will send a ``hi`` message to @dtvd88.\r
 \r
@@ -303,8 +303,9 @@ For detaile information, see `theme usage and customization`_.
 Config explanation\r
 ^^^^^^^^^^^^^^^^^^\r
 \r
-Rainbow Stream has a config file located at ``~/.rainbow_config.json``.\r
-You can view or set a new value of every config key by ``config`` command (See **Interactive mode** section above).\r
+Rainbow Stream has a custom config file located at ``~/.rainbow_config.json`` which will be loaded **after** its `default config`_. You are free to change anything on your custom config, but if you messed up with JSON format, the app would still works fine. Simply overwrite your custom config withe the `default config`_ to solve format problems.\r
+\r
+You also can view or set a new value of every config key by ``config`` command (See **Interactive mode** section above).\r
 \r
 -  ``HEARTBEAT_TIMEOUT``: after this timeout (count by minutes), the stream will automatically hangup.\r
 \r
@@ -324,6 +325,8 @@ You can view or set a new value of every config key by ``config`` command (See *
 \r
 -  ``RETWEETS_SHOW_NUM``: default tweets to display on 'allrt' command.\r
 \r
+-  ``CONVERSATION_MAX``: max tweet in a 'conversation' thread.\r
+\r
 -  ``QUOTE_FORMAT``: format when quote a tweet\r
 \r
     + ``#comment``: Your own comment about the tweet\r
@@ -414,4 +417,5 @@ steps
 .. _Python's strftime format: https://docs.python.org/2/library/time.html#time.strftime\r
 .. _clang unknown argument: http://kaspermunck.github.io/2014/03/fixing-clang-error/\r
 .. _Issue #10: https://github.com/DTVD/rainbowstream/issues/10\r
+.. _default config: https://github.com/DTVD/rainbowstream/blob/master/rainbowstream/colorset/config\r
 \r