Skip to content

Commit

Permalink
Havit.Blazor.Documentation name simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
hakenr committed Oct 25, 2023
1 parent 868aae8 commit ac4152e
Show file tree
Hide file tree
Showing 496 changed files with 134 additions and 130 deletions.
2 changes: 1 addition & 1 deletion BlazorAppTest/BlazorAppTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<Compile Include="..\Havit.Blazor.Components.Web.Bootstrap.Documentation\DemoData\**\*.*">
<Compile Include="..\Havit.Blazor.Documentation\DemoData\**\*.*">
<Link>DemoData\%(RecursiveDir)%(FileName)%(Extension)</Link>
</Compile>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BlazorAppTest/Pages/HxAutosuggest_Issue584_Test.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@page "/HxAutosuggest_Issue584_Test"
@using Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
@using Havit.Blazor.Documentation.DemoData;
@inject IDemoDataService DemoDataService

<EditForm Model="exampleModel" OnValidSubmit="HandleValidSubmit">
Expand Down
2 changes: 1 addition & 1 deletion BlazorAppTest/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Globalization;
using BlazorAppTest.Resources;
using Havit.Blazor.Components.Web;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
using Havit.Blazor.Documentation.DemoData;
using Havit.Blazor.GoogleTagManager;

namespace BlazorAppTest;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<ItemGroup>
<InternalsVisibleTo Include="Havit.Blazor.Components.Web.Bootstrap.Tests" />
<InternalsVisibleTo Include="Havit.Blazor.Components.Web.Bootstrap.Documentation" />
<InternalsVisibleTo Include="Havit.Blazor.Documentation" />
</ItemGroup>


Expand Down Expand Up @@ -46,7 +46,7 @@
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="$(TargetDir)\Havit.Blazor.Components.Web.Bootstrap.xml" DestinationFolder="$(OutDir)\..\..\..\..\Havit.Blazor.Components.Web.Bootstrap.Documentation\xmldoc" />
<Copy SourceFiles="$(TargetDir)\Havit.Blazor.Components.Web.Bootstrap.xml" DestinationFolder="$(OutDir)\..\..\..\..\Havit.Blazor.Documentation\xmldoc" />
</Target>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</ItemGroup>

<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
<Copy SourceFiles="$(TargetDir)\Havit.Blazor.Components.Web.xml" DestinationFolder="$(OutDir)\..\..\..\..\Havit.Blazor.Components.Web.Bootstrap.Documentation\xmldoc" />
<Copy SourceFiles="$(TargetDir)\Havit.Blazor.Components.Web.xml" DestinationFolder="$(OutDir)\..\..\..\..\Havit.Blazor.Documentation\xmldoc" />
</Target>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.AspNetCore.WebUtilities;
using Microsoft.Net.Http.Headers;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server.Controllers;
namespace Havit.Blazor.Documentation.Server.Controllers;

public class FileUploadControllerDemo : ControllerBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Shared.Components.DocColorMode;
using Havit.Blazor.Documentation.Shared.Components.DocColorMode;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server;
namespace Havit.Blazor.Documentation.Server;

public class DocColorModeServerResolver : IDocColorModeResolver
{
Expand Down
2 changes: 2 additions & 0 deletions Havit.Blazor.Documentation.Server/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global using Havit.Blazor.Components.Web;
global using Havit.Blazor.Components.Web.Bootstrap;
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Havit.Blazor.Components.Web.Bootstrap.Documentation\Havit.Blazor.Components.Web.Bootstrap.Documentation.csproj" />
<ProjectReference Include="..\Havit.Blazor.Documentation\Havit.Blazor.Documentation.csproj" />
<ProjectReference Include="..\Havit.Blazor.Components.Web.Bootstrap\Havit.Blazor.Components.Web.Bootstrap.csproj" />
<ProjectReference Include="..\Havit.Blazor.Components.Web\Havit.Blazor.Components.Web.csproj" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@page "/"
@namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server.Pages
@using Havit.Blazor.Components.Web.Bootstrap.Documentation
@namespace Havit.Blazor.Documentation.Server.Pages
@using Havit.Blazor.Documentation
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@{
Layout = "_Layout";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server.Pages
@namespace Havit.Blazor.Documentation.Server.Pages
@using System.Diagnostics;
@using System.Reflection;
@using System.Web;
@using Havit.Blazor.Components.Web.Bootstrap.Documentation
@using Havit.Blazor.Components.Web.Bootstrap.Documentation.Shared.Components.DocColorMode;
@using Havit.Blazor.Documentation
@using Havit.Blazor.Documentation.Shared.Components.DocColorMode;
@using Microsoft.AspNetCore.Components.Web
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@inject IDocColorModeResolver DocColorModeResolver
Expand All @@ -19,7 +19,7 @@

@Html.Raw(HxSetup.RenderBootstrapCssReference())
<link href="_content/Havit.Blazor.Components.Web.Bootstrap/defaults.css" rel="stylesheet" asp-append-version="true" />
<link href="Havit.Blazor.Components.Web.Bootstrap.Documentation.styles.css" rel="stylesheet" asp-append-version="true" /> @* CSS Isolation *@
<link href="Havit.Blazor.Documentation.styles.css" rel="stylesheet" asp-append-version="true" /> @* CSS Isolation *@
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.25.0/themes/prism.min.css" rel="stylesheet" /> @* Prism: Syntax Highlighting *@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/themes/prism-vs.css" rel="stylesheet" /> @* Prism: Syntax Highlighting *@
<link href="/css/site.css" rel="stylesheet" asp-append-version="true" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server;
namespace Havit.Blazor.Documentation.Server;

public class Program
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"Havit.Blazor.Components.Web.Bootstrap.Documentation.Server": {
"Havit.Blazor.Documentation.Server": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System.Globalization;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Services;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Shared.Components.DocColorMode;
using Havit.Blazor.Documentation.DemoData;
using Havit.Blazor.Documentation.Services;
using Havit.Blazor.Documentation.Shared.Components.DocColorMode;
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.Extensions.DependencyInjection.Extensions;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Server;
namespace Havit.Blazor.Documentation.Server;

public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Bunit;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Shared.Components;
using Havit.Blazor.Documentation.DemoData;
using Havit.Blazor.Documentation.Shared.Components;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Tests;
namespace Havit.Blazor.Documentation.Tests;

[TestClass]
public class DemosSmokeTests
Expand Down
2 changes: 2 additions & 0 deletions Havit.Blazor.Documentation.Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
global using Havit.Blazor.Components.Web;
global using Havit.Blazor.Components.Web.Bootstrap;
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Havit.Blazor.Components.Web.Bootstrap.Documentation\Havit.Blazor.Components.Web.Bootstrap.Documentation.csproj" />
<ProjectReference Include="..\Havit.Blazor.Documentation\Havit.Blazor.Documentation.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Services;
using Havit.Blazor.Documentation.Services;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Tests.Services;
namespace Havit.Blazor.Documentation.Tests.Services;

[TestClass]
public class ApiHelperTests
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
namespace Havit.Blazor.Documentation.DemoData;

public class DemoDataService : IDemoDataService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
namespace Havit.Blazor.Documentation.DemoData;

public class EmployeeDto
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.DemoData;
namespace Havit.Blazor.Documentation.DemoData;

public interface IDemoDataService
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.GenericTypePlaceholders;
namespace Havit.Blazor.Documentation.GenericTypePlaceholders;

internal class TItem { }
internal class TValue { }
Expand Down
6 changes: 6 additions & 0 deletions Havit.Blazor.Documentation/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global using System.Text;
global using Havit.Blazor.Components.Web;
global using Havit.Blazor.Components.Web.Bootstrap;
global using Havit.Diagnostics.Contracts;
global using Microsoft.AspNetCore.Components;
global using Microsoft.AspNetCore.Components.Rendering;
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using LoxSmoke.DocXml;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public class ClassModel : MemberModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public class ComponentApiDocModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public class EnumModel : MemberModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Text.RegularExpressions;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Services;
using Havit.Blazor.Documentation.Services;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public abstract class MemberModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System.Reflection;
using Havit.Blazor.Components.Web.Bootstrap.Documentation.Services;
using Havit.Blazor.Documentation.Services;
using LoxSmoke.DocXml;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public class MethodModel : MemberModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Reflection;
using LoxSmoke.DocXml;

namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Model;
namespace Havit.Blazor.Documentation.Model;

public class PropertyModel : MemberModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@using Havit.Blazor.Components.Web.Bootstrap.Documentation.Pages.Components.HxTabPanelDoc
@using Havit.Blazor.Documentation.Pages.Components.HxTabPanelDoc
@attribute [Route("/components/" + nameof(HxCard))]
@attribute [Route("/components/" + nameof(HxCardText))]
@attribute [Route("/components/" + nameof(HxCardTitle))]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Havit.Blazor.Components.Web.Bootstrap.Documentation.Pages.Components.HxIconDoc;
namespace Havit.Blazor.Documentation.Pages.Components.HxIconDoc;

public class MyCustomIcon : IconBase
{
Expand Down
Loading

0 comments on commit ac4152e

Please sign in to comment.