Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename docs-mover to Elastic.Markdown.Refactor #467

Merged
merged 2 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs-builder.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "docs-assembler", "src\docs-
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "authoring", "tests\authoring\authoring.fsproj", "{018F959E-824B-4664-B345-066784478D24}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "docs-mover", "src\docs-mover\docs-mover.csproj", "{7D36DDDA-9E0B-4D2C-8033-5D62FF8B6166}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Elastic.Markdown.Refactor", "src\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj", "{7D36DDDA-9E0B-4D2C-8033-5D62FF8B6166}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
17 changes: 17 additions & 0 deletions src/Elastic.Markdown.Refactor/Elastic.Markdown.Refactor.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\Elastic.Markdown\Elastic.Markdown.csproj"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using Elastic.Markdown.Slices;
using Microsoft.Extensions.Logging;

namespace Documentation.Mover;
namespace Elastic.Markdown.Refactor;

public record ChangeSet(IFileInfo From, IFileInfo To);
public record Change(IFileInfo Source, string OriginalContent, string NewContent);
Expand Down
3 changes: 1 addition & 2 deletions src/docs-builder/Cli/Commands.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.IO.Abstractions;
using Actions.Core.Services;
using ConsoleAppFramework;
using Documentation.Builder.Diagnostics.Console;
using Documentation.Builder.Http;
using Documentation.Mover;
using Elastic.Markdown;
using Elastic.Markdown.IO;
using Elastic.Markdown.Refactor;
using Microsoft.Extensions.Logging;

namespace Documentation.Builder.Cli;
Expand Down
2 changes: 1 addition & 1 deletion src/docs-builder/docs-builder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\docs-mover\docs-mover.csproj" />
<ProjectReference Include="..\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj" />
<ProjectReference Include="..\Elastic.Markdown\Elastic.Markdown.csproj" />
</ItemGroup>
</Project>
19 changes: 0 additions & 19 deletions src/docs-mover/docs-mover.csproj

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Elastic.Markdown.Tests/Elastic.Markdown.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\docs-mover\docs-mover.csproj" />
<ProjectReference Include="..\..\src\Elastic.Markdown.Refactor\Elastic.Markdown.Refactor.csproj" />
<ProjectReference Include="..\..\src\Elastic.Markdown\Elastic.Markdown.csproj"/>
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion tests/Elastic.Markdown.Tests/Mover/MoverTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using Documentation.Mover;
using Elastic.Markdown.Refactor;
using Elastic.Markdown.Tests.DocSet;
using FluentAssertions;

Expand Down