From 7735da6e858859b594ba78e1c04035751873015a Mon Sep 17 00:00:00 2001 From: szdytom Date: Sun, 3 Aug 2025 17:04:34 +0800 Subject: [PATCH] docs: update copilot instructions for clarity and conciseness Signed-off-by: szdytom --- .github/copilot-instructions.md | 5 +++-- tilemap/docs/api.md | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 9be5d61..aa3ae49 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,2 +1,3 @@ -+ Always use English for code comments and documents. -+ Don't create getters or setters if they are not necessary. ++ English-only comments and documentations ++ Check dev.md first ++ Avoid redundant getters/setters diff --git a/tilemap/docs/api.md b/tilemap/docs/api.md index 2d86609..7db3e51 100644 --- a/tilemap/docs/api.md +++ b/tilemap/docs/api.md @@ -166,3 +166,5 @@ istd::BiomeType biome = chunk.get_biome(sub_pos); const auto& props = istd::get_biome_properties(biome); std::cout << "Biome: " << props.name << std::endl; ``` + +