GitHub Copilot for Docs – putting the “fun” into RTFM
Tags: ai, githubcopilot, documentation
Published: 2023-04-05 14:06:57

---
title: GitHub Copilot for Docs – putting the “fun” into RTFM
published: true
description: Copilot for docs is an AI powered, filterable chat interface for official documentations
tags: ai, githubcopilot, documentation
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7x93ahvqmqocpl4irblu.png
canonical_url: https://christianheilmann.com/2023/04/05/github-copilot-for-docs-putting-the-fun-into-rtfm/
# Use a ratio of 100:42 for best results.
# published_at: 2023-04-05 14:01 +0000
---

{% youtube i0Apz07HjxY %}

AI powered chat interfaces are a great and fun way to learn about new technologies. The problem is quality and relevance. [Chat GPT](https://chat.openai.com/chat) for example doesn't tell you the source of the information. Bing chat does at times pull from sources that are highly successful, but not necessarily the best. Another thing is that it is sorely missing is a copy button for code results. 

This is not a new problem. For years I've prepended any Google search with "MDN" to only get results from official documentation, written by expert writers. 

[GitHub Copilot for docs](https://copilot4docs.githubnext.com/) is the best of both worlds. It gives you an interface like ChatGPT to look up information of the official documentations of libraries, products and resources. 

Right now, it covers GitHub, React, MDN, Azure, TypeScript and Webpack.

![The starting page of Github Copilot for docs allowing you to choose from a source documentation to chat with](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9ki0xlor2353uv6ih4gi.png)

Once you picked a source, you can add filters to change your level of expertise and how well you already know the subject. You can choose to only get the answer to your question or more detail about the subject in general.

![The filtering interface with sliders under a search box asking you what level of learner you are, what your experience with the topic is and how much detail you want](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hqzks7tt5v98ok0x6h1j.gif)

You can then ask your question, like "how do I use the fetch API" and get a result that has information and code examples. You can keep chatting with the system to dig deeper or you can copy the code examples to your clipboard. 

![Copying the results is as easy as activating a button](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w0lqmnzjjlct148ooruf.gif)

Another thing that makes this tool great is that it gives you the source of the information. You can hover over any part of the text to find out where in the documentation you can learn more on this specific topic. 

![hovering over coloured text parts or activating the side annotations shows where the text is from and a link to the full documentation](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qyjnmwsnv22cr9d8s16.gif)

I've been using this tool for a few days now and I'm impressed. It's a great way to learn about technologies straight from the source without of having to learn the hard way what result sounds good but is actually bad advice. 

It puts the "fun" into RTFM.