How to properly flash octagon gable vent? I dont have any trouble flashing square, rectangle, or triangle windows and...

I dont have any trouble flashing square, rectangle, or triangle windows and vent. When it comes to round and octagon shapes I typically just make it work next to lots of caulking. Is there a diagram or manual online somewhere that shows the correct route to flash these odd shapes?
Answers:    Use coil stock or roof step flashing and window wrap.
Why would you be flashing them and what are you doing the flashing next to?