diff --git a/src/Elastic.Documentation.Configuration/Assembler/AssemblyConfiguration.cs b/src/Elastic.Documentation.Configuration/Assembler/AssemblyConfiguration.cs index 496b81caa..285cdca6b 100644 --- a/src/Elastic.Documentation.Configuration/Assembler/AssemblyConfiguration.cs +++ b/src/Elastic.Documentation.Configuration/Assembler/AssemblyConfiguration.cs @@ -67,9 +67,6 @@ private static TRepository RepositoryDefaults(TRepository r, string return repository; } - [YamlMember(Alias = "versions")] - public Dictionary Versions { get; set; } = []; - [YamlMember(Alias = "narrative")] public NarrativeRepository Narrative { get; set; } = new(); diff --git a/src/Elastic.Documentation.Configuration/Assembler/VersionEntry.cs b/src/Elastic.Documentation.Configuration/Assembler/VersionEntry.cs deleted file mode 100644 index e4be67a5f..000000000 --- a/src/Elastic.Documentation.Configuration/Assembler/VersionEntry.cs +++ /dev/null @@ -1,16 +0,0 @@ -// 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 YamlDotNet.Serialization; - -namespace Elastic.Documentation.Configuration.Assembler; - -public record VersionEntry -{ - [YamlMember(Alias = "base")] - public string? Base { get; set; } - - [YamlMember(Alias = "current")] - public string? Current { get; set; } -} diff --git a/src/Elastic.Documentation.Configuration/Serialization/YamlStaticContext.cs b/src/Elastic.Documentation.Configuration/Serialization/YamlStaticContext.cs index 8e9ed0789..3bc8769c0 100644 --- a/src/Elastic.Documentation.Configuration/Serialization/YamlStaticContext.cs +++ b/src/Elastic.Documentation.Configuration/Serialization/YamlStaticContext.cs @@ -15,7 +15,6 @@ namespace Elastic.Documentation.Configuration.Serialization; [YamlSerializable(typeof(PublishEnvironment))] [YamlSerializable(typeof(GoogleTagManager))] [YamlSerializable(typeof(ContentSource))] -[YamlSerializable(typeof(VersionEntry))] [YamlSerializable(typeof(VersionsConfigDto))] [YamlSerializable(typeof(VersioningSystemDto))] public partial class YamlStaticContext;