Skip to content

Commit e94971e

Browse files
authored
Rename docs-mover to Elastic.Markdown.Refactor (#467)
* Rename docs-mover to Elastic.Markdown.Refactor Since its a library. Also update the namespace to be paired with Elastic.Markdown * dotnet format
1 parent a26280f commit e94971e

File tree

8 files changed

+23
-26
lines changed

8 files changed

+23
-26
lines changed

docs-builder.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "docs-assembler", "src\docs-
4646
EndProject
4747
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "authoring", "tests\authoring\authoring.fsproj", "{018F959E-824B-4664-B345-066784478D24}"
4848
EndProject
49-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "docs-mover", "src\docs-mover\docs-mover.csproj", "{7D36DDDA-9E0B-4D2C-8033-5D62FF8B6166}"
49+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic.Markdown.Refactor", "src\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj", "{7D36DDDA-9E0B-4D2C-8033-5D62FF8B6166}"
5050
EndProject
5151
Global
5252
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net9.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<ProjectReference Include="..\Elastic.Markdown\Elastic.Markdown.csproj"/>
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0"/>
15+
</ItemGroup>
16+
17+
</Project>

src/docs-mover/Move.cs renamed to src/Elastic.Markdown.Refactor/Move.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
using Elastic.Markdown.Slices;
1010
using Microsoft.Extensions.Logging;
1111

12-
namespace Documentation.Mover;
12+
namespace Elastic.Markdown.Refactor;
1313

1414
public record ChangeSet(IFileInfo From, IFileInfo To);
1515
public record Change(IFileInfo Source, string OriginalContent, string NewContent);

src/docs-builder/Cli/Commands.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
4-
using System.Collections.Generic;
54
using System.IO.Abstractions;
65
using Actions.Core.Services;
76
using ConsoleAppFramework;
87
using Documentation.Builder.Diagnostics.Console;
98
using Documentation.Builder.Http;
10-
using Documentation.Mover;
119
using Elastic.Markdown;
1210
using Elastic.Markdown.IO;
11+
using Elastic.Markdown.Refactor;
1312
using Microsoft.Extensions.Logging;
1413

1514
namespace Documentation.Builder.Cli;

src/docs-builder/docs-builder.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</ItemGroup>
3131

3232
<ItemGroup>
33-
<ProjectReference Include="..\docs-mover\docs-mover.csproj" />
33+
<ProjectReference Include="..\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj" />
3434
<ProjectReference Include="..\Elastic.Markdown\Elastic.Markdown.csproj" />
3535
</ItemGroup>
3636
</Project>

src/docs-mover/docs-mover.csproj

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/Elastic.Markdown.Tests/Elastic.Markdown.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<ProjectReference Include="..\..\src\docs-mover\docs-mover.csproj" />
29+
<ProjectReference Include="..\..\src\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj" />
3030
<ProjectReference Include="..\..\src\Elastic.Markdown\Elastic.Markdown.csproj"/>
3131
</ItemGroup>
3232

tests/Elastic.Markdown.Tests/Mover/MoverTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
using Documentation.Mover;
5+
using Elastic.Markdown.Refactor;
66
using Elastic.Markdown.Tests.DocSet;
77
using FluentAssertions;
88

0 commit comments

Comments
 (0)