Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure DevOps Wiki: How can I link the subpages in the parent page?

I have been trying to find a way to have a table of contents of the subpages within the Azure DevOps Wiki. I have found, from other wiki services, how to do it.

In Confluence, they have a macro for "Children Display"

Another way I found for another wiki service: [Special:PrefixIndex/Help:Subpages/]

like image 614
DoubleDev Avatar asked Mar 11 '21 14:03

DoubleDev


People also ask

How do I add a table of contents in Azure DevOps?

To create a table of contents, add a [[_TOC_]]. The TOC is generated when the tag gets added and there's at least one heading on the page. The [[_TOC_]] can be placed anywhere in the page to render the table of contents.

How to manage a wiki using the Azure DevOps portal?

Using the Azure DevOps Portal to manage your Wiki is a breeze. On the left side, we can create a page using the New page (Item 1) button, and the new page will be added at the same level of the pages that are being listed above (parent level). We can also create sub-pages to an existent page, and it helps to nest documentation on the same thread.

How to get the content of a page via Azure DevOps CLI?

To get the content of a page via the Azure DevOps CLI, enter the az devops wiki show command. --path: Required. Path of the wiki page. --wiki: Required. Name or ID of the wiki. --include-content: Optional. Include content of the page. --open: Optional. Open the wiki page in your web browser. --project -p: Optional. Name or ID of the project.

How do I add a new page in Azure DevOps Server 2019?

Azure DevOps CLI commands aren't supported for Azure DevOps Server 2019 and earlier versions. To add another page, choose New page. Or, to add a subpage, open the context menu of an existing page and select Add subpage. Specify a unique title of 235 characters or less.

How do I add a subpage to a wiki page?

Or, to add a subpage, open the context menu of an existing page and select Add subpage. Specify a unique title of 235 characters or less. Page titles are case-sensitive. For other title restrictions, see Wiki Git repository files and file structure, File naming conventions.


Video Answer


1 Answers

I am afraid there is not exactly the same feature(Confluence: Children Display) in Azure Devops.

In Azure Devops, the wiki page has the Table of contents(TOC) markdown.

enter image description here

This feature is similar to Children Display, but it can only connect to its own child pages.

It has limitations and cannot connect to subpages other than its own page.

If you want to connect to other subpages, you need to use link markdown.

But it cannot add a table of contents of the subpages.

Therefore, the features in the Azure Devops wiki cannot meet your requirements for the time being.

Here are the suggestion tickets in our UserVoice Site.

Wiki macro for displaying child pages

Table of contents should consider subpages

Many Users have the similar requirements, you could vote and add comment in the suggestion tickets.

like image 79
Kevin Lu-MSFT Avatar answered Sep 23 '22 01:09

Kevin Lu-MSFT