Not sure about the copyright of the copilot generated codes. Since some of them are from GitHub open source codes without license. Have you tried Mintlify? I think that's another interesting use case of ChatGPT.