-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AzureDevOpsDsc: Support publish wiki documentation (#31)
- AzureDevOpsDsc - Added pipeline support for publish markdown content to the GitHub repository wiki ([issue #15](#15)). This will publish the markdown documentation that is generated bu the build pipeline. - Added new source folder `WikiSource`. Every markdown file in the folder `WikiSource` will be published to the GitHub repository wiki. The markdown file `Home.md` will be updated with the correct module version on each publish to gallery (including preview). - Updated pipeline file `RequiredModules.ps1` to latest pipeline pattern. - Updated pipeline file `build.yaml` to latest pipeline pattern. - AzDevOpsProject - Added description to the comment-based help. - Added a validate set to the parameter `SourceControlType` to (for now) limit the parameter to the values `Git` and `Tfvc`. - Update comment-based help to remove text which the valid values are since that is now add automatically to the documentation (conceptual help and wiki documentation).
- Loading branch information
Showing
6 changed files
with
99 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ BuildWorkflow: | |
publish: | ||
- Publish_release_to_GitHub | ||
- publish_module_to_gallery | ||
|
||
- Publish_GitHub_Wiki_Content | ||
|
||
#################################################### | ||
# PESTER Configuration # | ||
|
@@ -63,7 +63,7 @@ Pester: | |
ExcludeFromCodeCoverage: | ||
- Modules/DscResource.Common | ||
Script: | ||
- tests/Integration | ||
# Only run on unit test on './build.ps1 -Task test' | ||
- tests/Unit | ||
ExcludeTag: | ||
Tag: | ||
|
@@ -80,11 +80,6 @@ DscTest: | |
ExcludeModuleFile: | ||
MainGitBranch: main | ||
|
||
Resolve-Dependency: | ||
Gallery: 'PSGallery' | ||
AllowPrerelease: false | ||
Verbose: false | ||
|
||
ModuleBuildTasks: | ||
Sampler: | ||
- '*.build.Sampler.ib.tasks' | ||
|
@@ -108,3 +103,16 @@ GitHubConfig: | |
GitHubConfigUserName: dscbot | ||
GitHubConfigUserEmail: [email protected] | ||
UpdateChangelogOnPrerelease: false | ||
|
||
#################################################### | ||
# DscResource.DocGenerator Configuration # | ||
#################################################### | ||
DscResource.DocGenerator: | ||
Generate_Conceptual_Help: | ||
MarkdownCodeRegularExpression: | ||
- '\`(.+?)\`' # Match inline code-block | ||
- '\\(\\)' # Match escaped backslash | ||
- '\[[^\[]+\]\((.+?)\)' # Match markdown URL | ||
- '_(.+?)_' # Match Italic (underscore) | ||
- '\*\*(.+?)\*\*' # Match bold | ||
- '\*(.+?)\*' # Match Italic (asterisk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Welcome to the AzureDevOpsDsc wiki | ||
|
||
<sup>*AzureDevOpsDsc v#.#.#*</sup> | ||
|
||
Here you will find all the information you need to make use of the AzureDevOpsDsc | ||
DSC resources in the latest release. This includes details of the resources | ||
that are available, current capabilities, known issues, and information to | ||
help plan a DSC based implementation of AzureDevOpsDsc. | ||
|
||
Please leave comments, feature requests, and bug reports for this module in | ||
the [issues section](https://github.com/dsccommunity/AzureDevOpsDsc/issues) | ||
for this repository. | ||
|
||
## Getting started | ||
|
||
To get started either: | ||
|
||
- Install from the PowerShell Gallery using PowerShellGet by running the | ||
following command: | ||
|
||
```powershell | ||
Install-Module -Name AzureDevOpsDsc -Repository PSGallery | ||
``` | ||
|
||
- Download AzureDevOpsDsc from the [PowerShell Gallery](https://www.powershellgallery.com/packages/AzureDevOpsDsc) | ||
and then unzip it to one of your PowerShell modules folders (such as | ||
`$env:ProgramFiles\WindowsPowerShell\Modules`). | ||
|
||
To confirm installation, run the below command and ensure you see the AzureDevOpsDsc | ||
DSC resources available: | ||
|
||
```powershell | ||
Get-DscResource -Module AzureDevOpsDsc | ||
``` | ||
|
||
## Prerequisites | ||
|
||
The minimum Windows Management Framework (PowerShell) version required is 5.0 | ||
or higher, which ships with Windows 10 or Windows Server 2016, | ||
but can also be installed on Windows 7 SP1, Windows 8.1, Windows Server 2012, | ||
and Windows Server 2012 R2. | ||
|
||
## Change log | ||
|
||
A full list of changes in each version can be found in the [change log](https://github.com/dsccommunity/AzureDevOpsDsc/blob/main/CHANGELOG.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters