FolderStructure
ReferencesRepresents the canonical folder layout for the folder in which documentation content is made.
Constructors
FolderStructure
#Create a new canonical documentation folder structure. This constructor will throw if the base folder does not exist.
Parameters:
| baseFolder (string) | The base folder. Use Folders.DocumentationAuthoringFolder if unsure. |
Properties
Methods
CompleteFolderStructure
#Create a list of all the subfolders that represent a standard folder structure.
Parameters:
| baseFolder (string) | Base folder. |
| states (params ProcessState[]) | Optional list of stated to include. If omitted, all states are included. |
CreateExamplesFolderPath
#Given a (presumably well-formed) directory uri, create the appropriate Examples subfolder uri.
Parameters:
| baseFolder (string) |
CreateSpecFolderPath
#Given a (presumably well-formed) directory uri, create the appropriate Specs subfolder uri.
Parameters:
| baseFolder (string) | |
| state (ProcessState) |
CreateTermFolderPath
#Given a (presumably well-formed) directory uri, create the appropriate Terms subfolder uri.
Parameters:
| baseFolder (string) | |
| state (ProcessState) |
CreateTopicFolderPath
#Given a (presumably well-formed) directory uri, create the appropriate Topics subfolder uri.
Parameters:
| baseFolder (string) | |
| state (ProcessState) |
GetExampleFolder
#Gets (and creates if need be) the specified subfolder for the example files.
Parameters:
| folder (ProcessState) |
GetSpecFolder
#Gets (and creates if need be) the specified subfolder for the specifications.
Parameters:
| folder (ProcessState) |
GetTermFolder
#Gets (and creates if need be) the specified subfolder for the terms.
Parameters:
| folder (ProcessState) |
GetTopicFolder
#Gets (and creates if need be) the specified subfolder for the topics.
Parameters:
| folder (ProcessState) |