[docs] ensure the directory docs/source/generated exists