From a1b149f175c04959d775aa4200b6b08004fecfc7 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Thu, 15 Jul 2021 15:54:54 +0200 Subject: chore: add docs about clang-format (#596) * chore: clang-format * Update clang-format.md * Update documentation-index.md --- docs/clang-format.md | 5 +++++ docs/documentation-index.md | 1 + 2 files changed, 6 insertions(+) create mode 100644 docs/clang-format.md (limited to 'docs') diff --git a/docs/clang-format.md b/docs/clang-format.md new file mode 100644 index 0000000..8bc9655 --- /dev/null +++ b/docs/clang-format.md @@ -0,0 +1,5 @@ +# Clang-Format + +This is a formatter that will automatically format any C/C++ based files defined in the [.clang-format](https://github.com/azerothcore/azerothcore-wotlk/blob/master/.clang-format) file. + +Some IDE's like Visual Studio can detect this file and will start formatting the code as you write it. diff --git a/docs/documentation-index.md b/docs/documentation-index.md index e69d24e..caa5f29 100644 --- a/docs/documentation-index.md +++ b/docs/documentation-index.md @@ -18,6 +18,7 @@ redirect_from: /documentation_index * [Bash system](bash_system.md) * [Bitwise operations](bit-and-bytes-tutorial.md) +* [Clang Format](clang-format) * [CMake options](cmake-options.md) * [Directory structure](directory-structure.md) * [How to Debug and Restart](how-to-restart-and-debug.md) -- cgit