Skip to content

Commit c026147

Browse files
authored
Merge pull request #14327 from sanjeev40084/feature/add-empty-parent-folder-info
Added note to include 1 file in parent folder so that contents inside subfolder show up in wiki.
2 parents f836f8e + 3c4afb3 commit c026147

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docs/project/wiki/wiki-file-structure.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.topic: concept-article
88
ms.author: chcomley
99
ms.reviewer: gopinach
1010
author: chcomley
11-
ms.date: 05/29/2025
11+
ms.date: 09/25/2025
1212
#customer intent: As an Azure DevOps developer, I want to understand the wiki file and folder structure in the Git repository, so I can follow the naming and location conventions.
1313
---
1414

@@ -48,6 +48,20 @@ The file name for each wiki page corresponds to the wiki page title. In the file
4848

4949
The _.order_ file defines the wiki page sequence. Git looks for this file in each folder to identify the sequence to present files at that location. The default page sequence is alphabetical order (A to Z) by file name.
5050

51+
> [!IMPORTANT]
52+
> When a parent folder contains only subfolders and no files of its own, the wiki displays the parent folder as blank—even if the subfolders include markdown files. To ensure visibility of markdown files within subfolders, always place at least one file (such as a `.order` file or any other file with content) in the parent folder.
53+
>
54+
>```
55+
>|- parent-folder
56+
>|-- sub-folder1
57+
>| |-- file1.md
58+
>| |-- file2.md
59+
>|-- sub-folder2
60+
>| |-- file3.md
61+
>| |-- file4.md
62+
>|-- .order
63+
>```
64+
5165
### Define custom page sequence
5266
5367
When a folder doesn't have an _.order_ file, Git uses the default alphabetical sequence.
@@ -89,4 +103,4 @@ If a folder has a custom sequence, you can revert the sort method to alphabetica
89103
90104
- [Set up wiki vs. publish code as wiki](provisioned-vs-published-wiki.md)
91105
- [Create a wiki for your team project](wiki-create-repo.md)
92-
- [Publish a Git repository to a wiki](publish-repo-to-wiki.md)
106+
- [Publish a Git repository to a wiki](publish-repo-to-wiki.md)

0 commit comments

Comments
 (0)