Update doc generation script, restore the older directory structure before running doc generation.
Update online documentation.