Add error linting to ensure that rst format is not invalid