-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathYamlStaticContext.cs
More file actions
79 lines (76 loc) · 3.47 KB
/
YamlStaticContext.cs
File metadata and controls
79 lines (76 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// 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 Elastic.Documentation.Configuration.Assembler;
using Elastic.Documentation.Configuration.Changelog;
using Elastic.Documentation.Configuration.Codex;
using Elastic.Documentation.Configuration.LegacyUrlMappings;
using Elastic.Documentation.Configuration.Products;
using Elastic.Documentation.Configuration.ReleaseNotes;
using Elastic.Documentation.Configuration.Search;
using Elastic.Documentation.Configuration.Toc;
using Elastic.Documentation.Configuration.Versions;
using YamlDotNet.Serialization;
namespace Elastic.Documentation.Configuration.Serialization;
[YamlStaticContext]
// Codex configuration
[YamlSerializable(typeof(CodexConfiguration))]
[YamlSerializable(typeof(CodexGroupDefinition))]
[YamlSerializable(typeof(CodexDocumentationSetReference))]
// Assembly configuration
[YamlSerializable(typeof(AssemblyConfiguration))]
[YamlSerializable(typeof(Repository))]
[YamlSerializable(typeof(NarrativeRepository))]
[YamlSerializable(typeof(PublishEnvironment))]
[YamlSerializable(typeof(GoogleTagManager))]
[YamlSerializable(typeof(Optimizely))]
[YamlSerializable(typeof(ContentSource))]
// Versions configuration
[YamlSerializable(typeof(VersionsConfigDto))]
[YamlSerializable(typeof(ProductConfigDto))]
[YamlSerializable(typeof(VersioningSystemDto))]
[YamlSerializable(typeof(ProductDto))]
// Legacy URL mappings
[YamlSerializable(typeof(LegacyUrlMappingDto))]
[YamlSerializable(typeof(LegacyUrlMappingConfigDto))]
// Table of contents
[YamlSerializable(typeof(DocumentationSetFile))]
[YamlSerializable(typeof(DocumentationSetFeatures))]
[YamlSerializable(typeof(CodexDocSetMetadata))]
[YamlSerializable(typeof(TableOfContentsFile))]
[YamlSerializable(typeof(SiteNavigationFile))]
[YamlSerializable(typeof(PhantomRegistration))]
[YamlSerializable(typeof(ProductLink))]
// API configuration (used in DocumentationSetFile.Api Dictionary<string, ApiConfiguration>)
[YamlSerializable(typeof(ApiConfiguration))]
// Search configuration
[YamlSerializable(typeof(SearchConfigDto))]
[YamlSerializable(typeof(QueryRuleDto))]
[YamlSerializable(typeof(QueryRuleCriteriaDto))]
[YamlSerializable(typeof(QueryRuleActionsDto))]
// Release notes / changelog YAML DTOs
[YamlSerializable(typeof(ChangelogEntryDto))]
[YamlSerializable(typeof(ProductInfoDto))]
[YamlSerializable(typeof(BundleDto))]
[YamlSerializable(typeof(BundledProductDto))]
[YamlSerializable(typeof(BundledEntryDto))]
[YamlSerializable(typeof(BundledFileDto))]
// Changelog configuration minimal DTOs
[YamlSerializable(typeof(ChangelogConfigMinimalDto))]
[YamlSerializable(typeof(RulesConfigMinimalDto))]
[YamlSerializable(typeof(PublishRulesMinimalDto))]
// Changelog YAML DTOs for CLI configuration (changelog.yml)
[YamlSerializable(typeof(ChangelogConfigurationYaml))]
[YamlSerializable(typeof(PivotConfigurationYaml))]
[YamlSerializable(typeof(TypeEntryYaml))]
[YamlSerializable(typeof(RulesConfigurationYaml))]
[YamlSerializable(typeof(CreateRulesYaml))]
[YamlSerializable(typeof(BundleRulesYaml))]
[YamlSerializable(typeof(PublishRulesYaml))]
[YamlSerializable(typeof(ProductsConfigYaml))]
[YamlSerializable(typeof(DefaultProductYaml))]
[YamlSerializable(typeof(BundleConfigurationYaml))]
[YamlSerializable(typeof(BundleProfileYaml))]
[YamlSerializable(typeof(ExtractConfigurationYaml))]
[YamlSerializable(typeof(YamlLenientList))]
public partial class YamlStaticContext;