From the course: Advanced Prompting with GitHub Copilot

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Challenge: Generate code from API docs

Challenge: Generate code from API docs - Github Copilot Tutorial

From the course: Advanced Prompting with GitHub Copilot

Challenge: Generate code from API docs

- I'm going to use the agent mode here with this project that, again, is very large and I'm going to generate these API docs in a way that will allow me to get started with a deep API documentation. So I have these prompt here. I want to generate detailed API documentation for set volumes interaction with LVM. Again, this is highly technical, but there's no API documentation. We have several files here. Focus on LVM.py, which is this one right here. And specifically how it labels volumes, filters them and discovers them as a system, as a system boots. Use all the LVM related files within and I give it a path. So this is useful information. Let's see. Well, one last thing. Produce a markdown style file and call it ceph volume. L-V-M-A-P-I, dot md. There we go. So very detailed. This is going to take a second and you can see searching for the files that are matching the ceph volume project. It's going to search…

Contents