PaperMC / docs

Documentation for all projects under the PaperMC umbrella.
https://docs.papermc.io/
BSD 2-Clause "Simplified" License
43 stars 112 forks source link

refactor: Merge vanilla default files with normal config files #463

Open Leguan16 opened 3 months ago

Leguan16 commented 3 months ago

I do not like the current solution to the "how-to vanilla" page. Thats why I am proposing a refactor that merges the two files with adding a vanilla field to config options that alter the vanilla behavior.

only-merge-items-horizontally:
  vanilla: "true"
  default: "false"
  description: >-
    Prevents merging items that are not on the same y level, preventing potential
    visual artifacts.

I am aware of the unnecessary nodes showing no default value. Unfortunately, I did not yet find a way to get rid of them without major refactoring of already existing code. If you have suggestions, please share!

github-actions[bot] commented 3 months ago
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
papermc-docs ✅ Ready (View Log) Visit Preview 5c47adc94b9860ee106ca44e0e1e08d0f20b6b47