A ventilated roof features an elongated vent having a vent opening and an elongated vent shingle supporting surface. The vent opening is in fluid communication with a slot defined by the top surface of a roof deck and communicating through the roof deck. An end cap has an end cap shingle supporting surface and is located adjacent to an end of the elongated vent. The vent and the end cap adjacent to the vent are supported in an equivalent spaced-apart relation to the top surface of the roof deck. The elongated vent shingle supporting surface, the end cap shingle supporting surface and the top surface of the roof deck provide a substantially continuous support to a shingle overlapping any two of those elements.