try to generate docs if theres at least a siteConfig