Lemma 8.4.16. Let \(C\) be a small category and \(p\colon D \to S\) a small cocartesian fibration. Then also \(p_*\colon \Fun(C,D) \to \Fun(C,S)\) is a small cocartesian fibration.
Proof
The functor \(p \times \id_C \colon D \times C \to S \times C\) is a small cocartesian fibration, being a base change of \(p\). The projection maps to \(C\) exhibit it as a cocartesian fibration over \(C\). By (Cat6), the functor \((p_C)_*(D \times C) \to (p_C)_*(S \times C)\) is again a small cocartesian fibration. But this functor is precisely \(p_*\colon \Fun(C,D) \to \Fun(C,S)\), hence we are done.