fix sidebar and improve the doc.

Signed-off-by: crynobone <crynobone@gmail.com>