add page history revision sample. fix newline attribute for rst