don't show publish button unless output is self-contained