Fix up documentation

Fix a few RST snafus so that the README renders properly.
This commit is contained in:
Thierry Carrez 2017-05-22 15:05:39 +02:00
parent 465f277ccb
commit 7284607c6c
1 changed files with 13 additions and 13 deletions

View File

@ -11,10 +11,12 @@ From that information the bot builds a static webpage with discussion
topics currently discussed ("now") and an indicative set of discussion
topics coming up next ("next").
NB:
Please note that:
* There can only be one "now" topic at a time. If multiple topics are
discussed at the same time in various corners of the room, they should
all be specified in a single "now" command.
* In order to ensure that information is current, entering a "now" command
wipes out any "next" entry for the same room. You might want to refresh
those after entering a "now" topic.
@ -36,7 +38,7 @@ Copy config.ini.sample to config.ini:
cp config.ini.sample config.ini
Edit config.ini contents, for example:
Edit config.ini contents, for example::
[ircbot]
nick=ptgbot
@ -56,10 +58,8 @@ Join that channel and give a command to the bot::
(note, the bot currently only takes commands from Freenode identified users)
In another terminal, start the webserver:
In another terminal, start the webserver::
cd html && python -m SimpleHTTPServer
Open the web page in a web browser:
http://127.0.0.1:8000/ptg.html
Open the web page in a web browser: http://127.0.0.1:8000/ptg.html