Compile both Chapter & scene names

How can I compile so that the names of the chapters (not “Part One” or Scrivener-generated “Chapter One”) and the names of each scene within those chapters (that I created as texts) can appear in my final manuscript?

Thank you!!!