toggle between source and docs