Place the squash halves in a large baking dish, cut side up. Brush with 1 tbsp (15 ml) of the oil. Season with salt and pepper. Cover with aluminum foil and bake for 45 minutes. Remove the foil. Place the onion wedges around the squash, drizzle with 1 tbsp (15 ml) of the oil and continue baking for 30 minutes.