fixed documentation type for events + fixed markup error for pagination and prev/next