> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qodo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Enabling a wiki

<Warning>
  **Git Integration (formerly Qodo Merge)** – AI code review agents for pull requests. This documentation describes the Qodo v1 experience. For the Qodo v2 documentation, click [here.](/code-review)
</Warning>

<Note>
  **Supported platforms:** GitHub, GitLab, Bitbucket (Not supported on Bitbucket Data Center), Azure DevOps.
</Note>

For the best experience with Qodo Git interface, we recommend enabling a **wiki** for each repository where it is installed.

## What is a wiki?

Set configurations by creating a page called `.pr_agent.toml` in the [wiki](https://github.com/Codium-ai/pr-agent/wiki/pr_agent.toml) of the repo.

The advantage of this method is that it allows to set configurations without needing to commit new content to the repository: just edit the wiki page and **save**.

<Frame>
  <img src="https://mintcdn.com/qodo/uIkZ6kAWHm6WXqrW/images/v1/image-1.png?fit=max&auto=format&n=uIkZ6kAWHm6WXqrW&q=85&s=3237b6c1e3264a0e1280167e6b5f4e96" alt="" width="1048" height="326" data-path="images/v1/image-1.png" />
</Frame>

## Benefits of creating a wiki

* Storing your [Qodo Git interface configuration file](/v1/configuration/configuration-file).
* Tracking [accepted code suggestions](/v1/tools/tools-list/improve) over time.
* Improve your Qodo experience over time by [`creating a auto_best_practices.md file`](/v1/features/best-practices) to capture learning and best practices automatically.

## How to enable a wiki

### GitHub

<Steps>
  <Step>
    Go to your repository’s **main page** on GitHub.
  </Step>

  <Step>
    Click **Settings** in the top navigation bar.
  </Step>

  <Step>
    Scroll to the **Features** section.
  </Step>

  <Step>
    Check the box to **Enable Wikis**.
  </Step>

  <Step>
    Return to the repository’s main page and click the new **Wiki** tab.
  </Step>

  <Step>
    Click **Create the first page** and save it.
  </Step>
</Steps>

<Warning>
  **Important:** The wiki must have at least one page to be fully active.
</Warning>

**To initialize the wiki:** navigate to `Wiki`, select `Create the first page`, then click `Save page`.

<Frame>
  <img src="https://mintcdn.com/qodo/uIkZ6kAWHm6WXqrW/images/v1/image-2.png?fit=max&auto=format&n=uIkZ6kAWHm6WXqrW&q=85&s=6eb6135c1a5407934dd55db2229ea1e3" alt="" width="1380" height="898" data-path="images/v1/image-2.png" />
</Frame>

### Azure DevOps

Azure DevOps Wikis are created at the **project level**, not per repository. Each repository is represented by a **wiki sub-page**.

Step 1: Create a Project Wiki

<Steps>
  <Step>
    Sign in to the Azure DevOps portal (for example: `https://dev.azure.com/<YOUR_ORGANIZATION>`).
  </Step>

  <Step>
    Open your project and go to **Overview** → **Wiki**.
  </Step>

  <Step>
    Click **Create Project Wiki**.
  </Step>

  <Step>
    Set the page title to `home`, then **Save** and **Close**.
  </Step>

  <Step>
    Refresh the page.
  </Step>
</Steps>

You should now see a **house icon** next to the `home` page.

Step 2: Create repository sub-pages

Create a **sub-page for each repository** where Qodo is installed.

<Steps>
  <Step>
    Hover over the **three dots (⋮)** next to `home` and select **Add sub-page**.
  </Step>

  <Step>
    Name the page **exactly as the repository name,** then **Save** and **Close**.
  </Step>
</Steps>

You can repeat this step to create **additional sub-pages** for other repositories in the project.

Step 3: Add Qodo configuration and data files

Under the repository sub-page, create wiki pages for Qodo configuration and related data files.

To add files:

<Steps>
  <Step>
    Hover over the repository sub-page.
  </Step>

  <Step>
    Click the **three dots (⋮)**.
  </Step>

  <Step>
    Select **Add sub-page**.
  </Step>

  <Step>
    Add the required files as wiki pages.

    <Warning>
      Wiki page names **cannot start with a dot (**`.`**)**.

      Remove the leading dot when creating files (for example, `.pr_agent.toml` → `pr_agent.toml`).
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/qodo/0Lwij7lmM5KGq-6-/images/v1/image-3.png?fit=max&auto=format&n=0Lwij7lmM5KGq-6-&q=85&s=5cf51aca44feedd063770d208fa26ce8" alt="" width="1380" height="898" data-path="images/v1/image-3.png" />
    </Frame>
  </Step>
</Steps>

## Writing wiki content

We recommend surrounding the configuration content with triple-quotes ` ``` ` to allow better presentation when displayed as markdown.

Qodo will remove the surrounding quotes when reading the configuration content.
