diff --git a/README.md b/README.md index c03beb60..4b7024ba 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Follow the steps below to run/debug locally. The optional steps take longer, but dotnet tool restore && dotnet docfx build docs/docfx.json --warningsAsErrors true ``` -1. Open [Steeltoe.io.sln](src/Steeltoe.io.sln) in your preferred IDE, or run from the command line: +1. Open [Steeltoe.io.slnx](src/Steeltoe.io.slnx) in your preferred IDE, or run from the command line: ```shell dotnet run --project .\src\Steeltoe.io diff --git a/src/Steeltoe.io.sln b/src/Steeltoe.io.sln deleted file mode 100644 index 54dcbd3a..00000000 --- a/src/Steeltoe.io.sln +++ /dev/null @@ -1,50 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.2.32630.192 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Steeltoe.io", "Steeltoe.io\Steeltoe.io.csproj", "{52B7F368-0A7D-44A1-986A-A187B42ED2FA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{96418E41-4D12-4743-958D-42C677EB9DA8}" - ProjectSection(SolutionItems) = preProject - ..\.editorconfig = ..\.editorconfig - ..\.gitignore = ..\.gitignore - ..\README.md = ..\README.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{BC27AC5F-ECE4-4EA5-8E6D-FD292AFE9C0C}" - ProjectSection(SolutionItems) = preProject - ..\.github\workflows\build-and-stage.yml = ..\.github\workflows\build-and-stage.yml - ..\.github\workflows\pr-cleanup.yml = ..\.github\workflows\pr-cleanup.yml - ..\.github\workflows\stage-prod-swap.yml = ..\.github\workflows\stage-prod-swap.yml - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Debug|x64.ActiveCfg = Debug|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Debug|x64.Build.0 = Debug|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Release|Any CPU.Build.0 = Release|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Release|x64.ActiveCfg = Release|Any CPU - {52B7F368-0A7D-44A1-986A-A187B42ED2FA}.Release|x64.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {BC27AC5F-ECE4-4EA5-8E6D-FD292AFE9C0C} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {7269F317-C023-4EF2-A82C-C3715B251405} - EndGlobalSection -EndGlobal diff --git a/src/Steeltoe.io.slnx b/src/Steeltoe.io.slnx new file mode 100644 index 00000000..4720f882 --- /dev/null +++ b/src/Steeltoe.io.slnx @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/Steeltoe.io.sln.DotSettings b/src/Steeltoe.io.slnx.DotSettings similarity index 84% rename from src/Steeltoe.io.sln.DotSettings rename to src/Steeltoe.io.slnx.DotSettings index bb932028..93c174e3 100644 --- a/src/Steeltoe.io.sln.DotSettings +++ b/src/Steeltoe.io.slnx.DotSettings @@ -3,7 +3,9 @@ IP JS True + True True True + True True diff --git a/src/Steeltoe.io/Components/Href.razor b/src/Steeltoe.io/Components/Href.razor index eefa565c..7f8490e9 100644 --- a/src/Steeltoe.io/Components/Href.razor +++ b/src/Steeltoe.io/Components/Href.razor @@ -8,8 +8,8 @@ { [Parameter] public RenderFragment ChildContent { get; set; } [Parameter] public string Class { get; set; } - [Parameter] public bool AsButton { get; set; } = false; - [Parameter] public bool NewWindow { get; set; } = false; + [Parameter] public bool AsButton { get; set; } + [Parameter] public bool NewWindow { get; set; } [Parameter(CaptureUnmatchedValues = true)] public Dictionary AdditionalAttributes { get; set; } diff --git a/src/Steeltoe.io/Components/Template.razor b/src/Steeltoe.io/Components/Template.razor index 8b0073b0..b670bfde 100644 --- a/src/Steeltoe.io/Components/Template.razor +++ b/src/Steeltoe.io/Components/Template.razor @@ -146,22 +146,22 @@ @code { - private int _i = 0; + private int _i; private string _canonicalUrl; [Parameter] public string Name { get; set; } [Parameter] public string MetaDescription { get; set; } [Parameter] public string SocialShareTitle { get; set; } [Parameter] public string SocialShareDescription { get; set; } - [Parameter] public bool NameIsPlural { get; set; } = false; + [Parameter] public bool NameIsPlural { get; set; } [Parameter] public bool ShowBottomGetStarted { get; set; } = true; [Parameter] public bool ShowBottomDocsUrl { get; set; } = true; [Parameter] public RenderFragment Description { get; set; } [Parameter] public RenderFragment WhatIs { get; set; } [Parameter] public RenderFragment WhyUse { get; set; } [Parameter] public RenderFragment FeatureTemplate { get; set; } - [Parameter] public RenderFragment AltFeatureTemplate { get; set; } = null; - [Parameter] public IReadOnlyList Features { get; set; } = null; + [Parameter] public RenderFragment AltFeatureTemplate { get; set; } + [Parameter] public IReadOnlyList Features { get; set; } [Parameter] public string GettingStartedUrl { get; set; } [Parameter] public string DocsUrl { get; set; } [Parameter] public RenderFragment OtherArea { get; set; }