Skip to content

Commit ccc2b5b

Browse files
committed
docs: add 2.4 API reference
1 parent 20820ef commit ccc2b5b

File tree

134 files changed

+150440
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+150440
-36
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[See unreleased changes][unreleased].
44

5-
## Unreleased
5+
## [v2.4.0]
66

77
* Fix [#227] by [@ejball] - ArgumentEscaper should escape empty string
88
* PR [#230] by [@IanG] - Attributes for files and directories that must not exist
@@ -377,7 +377,8 @@ Other:
377377
[@TheConstructor]: https://github.com/TheConstructor
378378
[@vpkopylov]: https://github.com/vpkopylov
379379

380-
[unreleased]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.4...HEAD
380+
[unreleased]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.4.0...HEAD
381+
[v2.4.0]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.4...v2.4.0
381382
[v2.3.4]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.3...v2.3.4
382383
[v2.3.3]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.2...v2.3.3
383384
[v2.3.2]: https://github.com/natemcmaster/CommandLineUtils/compare/v2.3.1...v2.3.2

docs/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ uid: latest_api_ref
44
API Reference
55
=============
66

7-
**Version 2.3**
7+
**Version 2.4**
88

99
McMaster.Extensions.CommandLineUtils supports three target frameworks.
1010

docs/docfx.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"build": {
2424
"content": [
2525
{ "version": "unstable", "files": ["**/*.yml", "**/*.md"], "src": "obj/unstable", "dest": "unstable" },
26-
{ "version": "v2.3", "files": ["**/*.yml", "**/*.md"], "exclude": [ "v2.2/", "obj/", "**.meta", "README.md", "filterConfig.yml" ] },
26+
{ "version": "v2.4", "files": ["**/*.yml", "**/*.md"], "exclude": [ "v2.2/", "v2.3/", "obj/", "**.meta", "README.md", "filterConfig.yml" ] },
27+
{ "version": "v2.3", "files": ["**/*.yml", "**/*.md"], "src": "v2.3", "dest": "v2.3" },
2728
{ "version": "v2.2", "files": ["**/*.yml", "**/*.md"], "src": "v2.2", "dest": "v2.2" }
2829
],
2930
"resource": [

docs/docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ uid: doc-intro
2525
2626
```xml
2727
<ItemGroup>
28-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.2.5" />
28+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.0" />
2929
</ItemGroup>
3030
```
3131

docs/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ try {
2424
exec git worktree add $targetDir gh-pages 2>&1 | out-null
2525
}
2626

27-
$docfxVersion = '2.43.1'
27+
$docfxVersion = '2.45.0'
2828
$docfxRoot = "$buildRoot/packages/docfx.console/$docfxVersion"
2929
$docfx = "$docfxRoot/tools/docfx.exe"
3030
if (-not (Test-Path $docfx)) {

docs/samples/Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<!-- Set samples to use the latest stable C# until C# 8 is released -->
66
<LangVersion>7.3</LangVersion>
77
<Nullable />
8-
<NullableContextOptions />
98
</PropertyGroup>
109

1110
</Project>

docs/samples/Directory.Build.targets

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<Project>
22

3-
<PropertyGroup>
4-
<!-- TODO: revert when 2.3 is done -->
5-
<!--<UsePackage Condition="'$(UsePackage)' == '' AND '$(CI)' != 'true'">false</UsePackage>-->
6-
<UsePackage Condition="'$(UsePackage)' == ''">false</UsePackage>
7-
</PropertyGroup>
8-
9-
<ItemGroup Condition="'$(UsePackage)' == 'false'">
3+
<ItemGroup Condition="'$(UsePackage)' != 'true'">
104
<PackageReference Remove="McMaster.Extensions.CommandLineUtils" />
115
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\src\CommandLineUtils\*.csproj" />
126
</ItemGroup>

docs/samples/attributes/Attributes.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.3.0" />
10+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.0" />
1111
</ItemGroup>
1212

1313
</Project>

docs/samples/custom-attribute/CustomAttribute.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.3.0" />
10+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.0" />
1111
</ItemGroup>
1212

1313
</Project>

docs/samples/custom-conventions/CustomConvention.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.3.0" />
10+
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.4.0" />
1111
</ItemGroup>
1212

1313
</Project>

0 commit comments

Comments
 (0)