Improve doc sidebar generation and styling