Extended gravity theories and the Einstein--Hilbert action | Synapse