Repository navigation
docs: simplify the LEVEL wording and mention level-name - #4416
Merged
Merged
Conversation
Drop the multiple containers and -v guidance, which was confusing. Say that LEVEL maps to the level-name server property and that two or more containers must not share the same data volume.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2195
The LEVEL section of the server properties page explained running multiple containers with different
LEVELvalues and-vdirectories, which the issue calls confusing. This shortens it:LEVELmaps to thelevel-nameproperty, using the same link style as theSEED/level-seedsection-vnote with "Make sure two or more containers are not using the same data volume."The
LEVELrow indocs/variables.mdhad the same "run multiple containers with different saves" sentence, so I trimmed it to "You can switch between world saves by using the LEVEL option". It already said it maps tolevel-name.This is docs only. I did not add a
LEVEL_NAMEvariable, which was floated in the issue. The behaviour described matches the scripts:start-setupWorldandstart-setupDatapackuse/data/${LEVEL:-world}, andfiles/property-definitions.jsonmapslevel-nametoLEVEL.Both files keep their CRLF line endings, so the diff is only the changed lines.
How it was checked: I read the rendered HTML of this PR's Read the Docs preview (server properties, variables). The LEVEL section shows the new text with the
level-namelink, thelevel-world-save-nameheading anchor is unchanged, and the LEVEL row in the variables table shows the new sentence.