[subset] add hb-subset api to documentation generator. Standardize subset_input parameter to be input.