TFS2018-WIKI介绍05--文件与文件夹结构与命名规则

Wiki file and folder structure
The labels assigned to the team project wiki Git repository are as follows:
• The wiki repo provisioned for a team project corresponds to ProjectName.wiki
• The master branch corresponds to wikiMaster.
Note
You can manage your wiki repo in the same way you manage any other Git repo by defining branch policies on the wikiMaster branch. However, without any policies defined, you can make changes to your local wikiMaster branch and push them directly to the remote branch.
The wiki repository contains the following files and folders:
• A file for each markdown page entered at the root level
• A folder for each page that contains subpages
• A folder labeled .attachments that stores all the attachments of the wiki
• A file labeled .order at the root and under each folder


File naming conventions
Each file follows the convention of inserting dashes for a space in the page title. For example, the “How to contribute” page title corresponds to How-to-contribute.md file name.
Each wiki page corresponds to a file within the wiki Git repo. Names you assign to a wiki page title must conform to the following restrictions.


##
Restriction type Restriction
这里写图片描述
Special characters in Wiki page titles
这里写图片描述
The .order file defines sequence of pages and sub-pages
Each .order file defines the sequence of pages contained within the folder.
• A root .order file specifies the sequence of pages defined at the root level
• A .order file within each folder defines the sequence of sub-pages added to a parent page.
Naming restrictions on Wiki markdown page titles
Each wiki page corresponds to a file within the wiki Git repo. Names you assign to a wiki page title must conform to the following restrictions.
Restriction type Restriction
同上。

猜你喜欢

转载自blog.csdn.net/xl_lx/article/details/80482021