Stocks rise for the week; Doordash reveals strong revenue gains