Fix several sphinx bugs and include autoindex

Change-Id: Iaf356fac45ba4bd8fe08264a7bb798c06fe0f144
Merge "Fix several sphinx bugs and include autoindex"