fix the public documentation - when it's set to private it doesn't actually prevent people visiting it.