Skip to content

Commit 5b1f10d

Browse files
authored
Rename assembler environment from production to prod (#798)
* Rename assembler environment from `production` to `prod` To align with infrastructure naming * Fix test
1 parent 928fa93 commit 5b1f10d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/docs-assembler/assembler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
environments:
2-
production:
2+
prod:
33
uri: https://www.elastic.co
44
path_prefix: docs
55
allow_indexing: false
@@ -86,4 +86,4 @@ references:
8686
skip: true
8787
security-docs:
8888
# wait for move to https://github.com/elastic/detection-rules/pull/4507/files
89-
skip: true
89+
skip: true

tests/docs-assembler.Tests/src/docs-assembler.Tests/GlobalNavigationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public async Task UriResolving()
5151
var checkouts = repos.Select(r => CreateCheckout(fs, r)).ToArray();
5252
var globalNavigation = new GlobalNavigation(assembleContext, globalNavigationFile, checkouts);
5353

54-
var env = assembleContext.Configuration.Environments["production"];
54+
var env = assembleContext.Configuration.Environments["prod"];
5555
var uriResolver = new PublishEnvironmentUriResolver(globalNavigation, env);
5656

5757
// docs-content://reference/apm/something.md - url hasn't changed

0 commit comments

Comments
 (0)