Search code examples
azure-devopswikiazure-devops-wiki

How to go from "published code as a wiki" back to "provisioned wiki"?


Have read about differences of the two here: https://learn.microsoft.com/en-us/azure/devops/project/wiki/provisioned-vs-published-wiki?view=azure-devops.

Would like to try out code as wiki, however, want to have a backup plan in case I want to switch back to the provisioned one.

Once I have tried the "published code as wiki" does anyone know how to import the contents from a repo backup and make it "provisioned one"?


Solution

  • If you have already created a project wiki and add a code wiki, the two wiki's will coexist (see screenshot):

    Wikis coexist

    If the Code wiki is not the way to go, you can unpublish it only leaving the project wiki in place.

    If the Code wiki is the way to go, removing a provisioned (project) wiki doesn't seem to be an option in the UI. Still, there are options to Delete default project Wiki in Azure DevOps using the API.