> ## 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.

# Enable a repository wiki for configuration

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

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

### What is a wiki?

Set configurations by creating a page named `.pr_agent.toml` in the repository [wiki](https://github.com/Codium-ai/pr-agent/wiki/pr_agent.toml). This approach allows configuration changes without committing new content to the repository, simply edit the wiki page and save.

<Frame>
  <img src="https://mintcdn.com/qodo/Ofbh_BP-jo_3_YvU/images/qodo-documentation/code-review/image-38.jpeg?fit=max&auto=format&n=Ofbh_BP-jo_3_YvU&q=85&s=7ef0840ec4f991f397aec95e1bea7b4d" alt="" width="2304" height="625" data-path="images/qodo-documentation/code-review/image-38.jpeg" />
</Frame>

### Benefits of creating a wiki

* Storing your Qodo Git interface configuration file.
* Tracking accepted code suggestions over time.
* Improve your Qodo experience over time by creating a `auto_best_practices.md` file to capture learning and best practices automatically.

### 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.

    <Note>
      The wiki must have at least one page to be fully active.
    </Note>

    <Frame>
      <img src="https://mintcdn.com/qodo/Ofbh_BP-jo_3_YvU/images/qodo-documentation/code-review/image-39.avif?fit=max&auto=format&n=Ofbh_BP-jo_3_YvU&q=85&s=9b3e220c08c4582d41c97878e7809070" alt="" width="1123" height="318" data-path="images/qodo-documentation/code-review/image-39.avif" />
    </Frame>
  </Step>
</Steps>

### 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.
  </Step>
</Steps>

Wiki page names **cannot start with a dot (**`.`**)**. Remove the leading dot when creating files (for example, `.pr_agent.toml` → `pr_agent.toml`).

<Frame>
  <img src="https://mintcdn.com/qodo/Ofbh_BP-jo_3_YvU/images/qodo-documentation/code-review/image-40.png?fit=max&auto=format&n=Ofbh_BP-jo_3_YvU&q=85&s=2a2472d6b783f0422c39c2c0fd767621" alt="" width="1520" height="874" data-path="images/qodo-documentation/code-review/image-40.png" />
</Frame>

### Writing wiki content

Surround 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.
