port #698 over to hosted docs