add public doc and autocomplete doc