Enable exporting in a new child theme

Hi, I would like to create a new McLuhan child theme and have 2 points to ask:

  1. How to enable epub exporting in the theme (how does the functions.php need to look like? or what changes in the files should be done?)

  2. I would like to design the Ebook and the web book appearance (css), where should i make changes?

Thank you so much,
Etna

the exporting is from the core, not the theme. So is a setting as administrator, if i´m not wrong.

(did you install the dependencies https://docs.pressbooks.org/installation/#part-3-pressbooks-dependencies ? )

There’s a tutorial here: https://docs.pressbooks.org/theme-development/

It needs updating but is still pretty useful.