<p>the short answer is yes
You can use any *.md files in a code repo as wiki, you simply go to the Project, Wiki, select &quot;Publish Code as Wiki&quot;, point it to the Git Repo and select the Folder you want as root for your wiki. You can do that with as many Git Repos as you need.</p>
<p>In your case, if I understood you right you would add the wiki md files to the main branch of the backend/frontend repo, then go to the Project, Wiki, select &quot;Publish Code as Wiki&quot; and select the existing gitrepo and select the main branch and the folder with the wiki files in the options.</p>

CC BY-SA 4.0
2023-01-27T14:33:21.353Z
Excellent! It's easy when you know how! Thanks for the answer. I've now for my project wiki up and running.
Tim B James
CC BY-SA 4.0
2023-01-23T09:22:29.877Z
2023-01-23T18:40:38.170Z
2023-01-23T18:40:38.170Z
qBasicBoy
<p>Azure DevOps has a built in wiki feature that allows either a Provisioned Wiki (a single wiki for the project), or multiple wiki repositories.</p>
<p>My question is with regards to the repository wikis, and if you can add the wiki to an existing repository so that both the code and wiki documentation are co-located?</p>
<p>So rather than having these repos;</p>
<ul>
<li>backend</li>
<li>backend-wiki</li>
<li>frontend</li>
<li>frontend-wiki</li>
</ul>
<p>There are 2 code repositories and within each is the wiki markdown code?</p>
<p>The idea behind this is so that if a code change is made within the repository, then documentation changes can be made within the same branch so will reflect in the Pull Requests.</p>

<azure-devops>
Can you include an Azure DevOps wiki inside an existing repository?
Tim B James
# Can you include an Azure DevOps wiki inside an existing repository?

(Asked by: username_0 on 2023-01-20)

Azure DevOps has a built in wiki feature that allows either a Provisioned Wiki (a single wiki for the project), or multiple wiki repositories.

My question is with regards to the repository wikis, and if you can add the wiki to an existing repository so that both the code and wiki documentation are co-located?

So rather than having these repos;

* backend
* backend-wiki
* frontend
* frontend-wiki

There are 2 code repositories and within each is the wiki markdown code?

The idea behind this is so that if a code change is made within the repository, then documentation changes can be made within the same branch so will reflect in the Pull Requests.

**Tags:** azure-devops


---

## 1 answers

### Answer by username_1 on 2023-01-23. Score: 3 | Accepted answer

the short answer is yes
You can use any \*.md files in a code repo as wiki, you simply go to the Project, Wiki, select "Publish Code as Wiki", point it to the Git Repo and select the Folder you want as root for your wiki. You can do that with as many Git Repos as you need.

In your case, if I understood you right you would add the wiki md files to the main branch of the backend/frontend repo, then go to the Project, Wiki, select "Publish Code as Wiki" and select the existing gitrepo and select the main branch and the folder with the wiki files in the options.

> **Comments:**
> **username_0**: Excellent! It's easy when you know how! Thanks for the answer. I've now for my project wiki up and running.  

---

