diff --git a/src/Elastic.Documentation.Configuration/Codex/CodexConfiguration.cs b/src/Elastic.Documentation.Configuration/Codex/CodexConfiguration.cs index aa5471ffe..67c919192 100644 --- a/src/Elastic.Documentation.Configuration/Codex/CodexConfiguration.cs +++ b/src/Elastic.Documentation.Configuration/Codex/CodexConfiguration.cs @@ -21,7 +21,7 @@ public record CodexConfiguration public string SitePrefix { get; set; } = "/"; /// - /// The environment name for this codex (e.g., "engineering", "security"). + /// The environment name for this codex (e.g., "internal", "security"). /// Used as part of the Elasticsearch index namespace. /// [YamlMember(Alias = "environment")] diff --git a/src/Elastic.Documentation.LinkIndex/GitLinkIndexReader.cs b/src/Elastic.Documentation.LinkIndex/GitLinkIndexReader.cs index b628d5cf0..8d263d046 100644 --- a/src/Elastic.Documentation.LinkIndex/GitLinkIndexReader.cs +++ b/src/Elastic.Documentation.LinkIndex/GitLinkIndexReader.cs @@ -28,7 +28,7 @@ public class GitLinkIndexReader : ILinkIndexReader, IDisposable public GitLinkIndexReader(string environment, IFileSystem? fileSystem = null) { if (string.IsNullOrWhiteSpace(environment)) - throw new ArgumentException("Environment must be specified in the codex configuration (e.g., 'engineering', 'security').", nameof(environment)); + throw new ArgumentException("Environment must be specified in the codex configuration (e.g., 'internal', 'security').", nameof(environment)); _environment = environment; _fileSystem = fileSystem ?? new FileSystem(); diff --git a/src/services/Elastic.Documentation.Search/Common/ElasticsearchClientAccessor.cs b/src/services/Elastic.Documentation.Search/Common/ElasticsearchClientAccessor.cs index b49b02250..4d3cded9d 100644 --- a/src/services/Elastic.Documentation.Search/Common/ElasticsearchClientAccessor.cs +++ b/src/services/Elastic.Documentation.Search/Common/ElasticsearchClientAccessor.cs @@ -50,7 +50,7 @@ public ElasticsearchClientAccessor( /// /// Extracts the ruleset name from the index name. /// Index name format: "semantic-docs-{namespace}-latest" -> ruleset: "docs-ruleset-{namespace}" - /// The namespace may contain hyphens (e.g., "codex-engineering"), so we extract everything + /// The namespace may contain hyphens (e.g., "codex-internal"), so we extract everything /// between the "semantic-docs-" prefix and the "-latest" suffix. /// private static string? ExtractRulesetName(string indexName) diff --git a/src/tooling/docs-builder/Commands/Codex/CodexCommands.cs b/src/tooling/docs-builder/Commands/Codex/CodexCommands.cs index e81a1b34d..cbdfa2b6c 100644 --- a/src/tooling/docs-builder/Commands/Codex/CodexCommands.cs +++ b/src/tooling/docs-builder/Commands/Codex/CodexCommands.cs @@ -66,7 +66,7 @@ public async Task CloneAndBuild( if (string.IsNullOrWhiteSpace(codexConfig.Environment)) { - collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security')."); + collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security')."); return 1; } @@ -139,7 +139,7 @@ public async Task Clone( if (string.IsNullOrWhiteSpace(codexConfig.Environment)) { - collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security')."); + collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security')."); return 1; } @@ -187,7 +187,7 @@ public async Task Build( if (string.IsNullOrWhiteSpace(codexConfig.Environment)) { - collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security')."); + collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security')."); return 1; } diff --git a/src/tooling/docs-builder/Commands/Codex/CodexIndexCommand.cs b/src/tooling/docs-builder/Commands/Codex/CodexIndexCommand.cs index 6b70e50de..4b19905c7 100644 --- a/src/tooling/docs-builder/Commands/Codex/CodexIndexCommand.cs +++ b/src/tooling/docs-builder/Commands/Codex/CodexIndexCommand.cs @@ -112,7 +112,7 @@ public async Task Index( if (string.IsNullOrWhiteSpace(codexConfig.Environment)) { - collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'engineering', 'security')."); + collector.EmitGlobalError("Codex configuration must specify an 'environment' (e.g., 'internal', 'security')."); return 1; }