Skip to content

Commit

Permalink
Updates for v0.5.0 release (#36)
Browse files Browse the repository at this point in the history
* Updated change log preparing for release
* Updated appveyor conifg
  • Loading branch information
BernieWhite authored Jul 2, 2018
1 parent 4a983ba commit 4d96b81
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

## Unreleased

## v0.5.0

- Fix to prevent string builder properties being outputted each time `Invoke-PSDocument` is called
- Added support for property expressions with the `Table` keyword [#27](https://github.com/BernieWhite/PSDocs/issues/27)
- **Important change**: Deprecated support for using `Invoke-PSDocument` with inline document definitions
Expand All @@ -10,7 +12,7 @@
- This is the recommended way to build documents going forward
- Added support for providing options for `Invoke-PSDocument` using YAML, see `about_PSDocs_Options`
- **Breaking change**: Empty `Section` blocks are not rendered by default [#32](https://github.com/BernieWhite/PSDocs/issues/32)
- Use `-Force` parameter on specific sections or `Markdown.SkipEmptySections = $False` option to force the empty sections to written
- Use `-Force` parameter on specific sections or `Markdown.SkipEmptySections = $False` option to force empty sections to be written

## v0.4.0

Expand Down
2 changes: 1 addition & 1 deletion PSDocs.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function CopyModuleFiles {
if (!(Test-Path -Path $parentPath)) {
$Null = New-Item -Path $parentPath -ItemType Directory -Force;
}

Copy-Item -Path $_.FullName -Destination $filePath -Force;
};
}
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 0.4.0.{build}
version: 0.5.0.{build}
image: Visual Studio 2017

# Only build master branch
Expand Down
8 changes: 4 additions & 4 deletions src/PSDocs/PSDocsProcessor/Markdown/Markdown.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function VisitSection {
Write-Verbose -Message "[Doc][Processor][Section] END:: [$($section.Node.Length)]";
}

function VisitCode {
function VisitCode {

[CmdletBinding()]
param (
Expand Down Expand Up @@ -143,7 +143,7 @@ function VisitNote {
)

Write-Verbose -Message "[Doc][Processor] -- Visit note";

VisitString -InputObject '';
VisitString -InputObject '> [!NOTE]';

Expand All @@ -161,7 +161,7 @@ function VisitWarning {
)

Write-Verbose -Message "[Doc][Processor] -- Visit warning";

VisitString -InputObject '';
VisitString -InputObject '> [!WARNING]';

Expand All @@ -174,7 +174,7 @@ function VisitMetadata {
param ($InputObject)

Write-Verbose -Message "[Doc][Processor] -- Visit metadata";

VisitString -InputObject '---';

foreach ($kv in $InputObject.Metadata.GetEnumerator()) {
Expand Down

0 comments on commit 4d96b81

Please sign in to comment.