Skip to content

Latest commit

 

History

History
96 lines (65 loc) · 3.5 KB

File metadata and controls

96 lines (65 loc) · 3.5 KB
ms.topic include
ms.date 06/02/2025

Open the Wiki

You can open and view the wiki page for your team project from Azure DevOps in the browser or use the Azure DevOps CLI.

Connect to your project by using a supported web browser and select Wiki:

:::image type="content" source="../media/open-wiki-overview-page.png" border="false" alt-text="Screenshot of a wiki open in the browser and showing the wiki overview page." lightbox="../media/open-wiki-overview-page.png":::

If you need to switch your team project, select :::image type="icon" source="../../../media/icons/project-icon.png"::: Azure DevOps to browse all team projects and teams.

::: moniker range="azure-devops"

You can view and open a wiki page for a project by using the az devops wiki show command:

[!div class="tabbedCodeSnippets"]

az devops wiki show --wiki
                      [--open]
                      [--project]
                      [--subscription]

For more information, see Get started with the Azure DevOps CLI.

Basic parameters

The following parameters are available for the wiki show command:

Parameter Required Description
--wiki Yes The name or ID of the wiki.
--open No Open the wiki page in your web browser.
--project -p No The name or ID of the project.
--subscription No The name or ID of the subscription. You can configure the default subscription with the az account set -s NAME_OR_ID command.

For more information, see the Azure DevOps CLI command reference.

Example: View the project wiki

The following example shows how to open a wiki named "MyProjectwiki":

[!div class="tabbedCodeSnippets"]

az devops wiki show --wiki MyProjectwiki --open

View a wiki page

You can view the content of a specific page by using the Azure DevOps CLI az devops wiki show command:

[!div class="tabbedCodeSnippets"]

az devops wiki page show --path
                         --wiki
                         [--include-content]
                         [--open]
                         [--project]
                         [--subscription]
                         [--version]

More parameters

The following table lists more parameters for the wiki show command when you want to view a specific page:

Parameter Required Description
--path Yes The fully qualified path for the wiki page.
--include-content No Show the full page content along with the page metadata.
--version -v No The version of the wiki page, which corresponds to the ETag entity tag value.

For more information, see the Azure DevOps CLI command reference.

Example: View a specific page

The following example shows how to get content for the "Get Started" page of the "MyProjectwiki" wiki:

[!div class="tabbedCodeSnippets"]

az devops wiki page show --path 'Get Started' --wiki 'MyProjectwiki' --content "Hello World"

::: moniker-end

[!INCLUDE temp]