Install and configure sphinx