* add macos detailed build documentation * The second batch is modified separately * add code flow img * adj doc logic