add lib/index docs for BQ