Automating an index

Is there yet a way anyone has come up with to automate the creation and management of an index page for larger docs?