summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-07-15 15:54:54 +0200
committerGitHub <noreply@github.com>2021-07-15 15:54:54 +0200
commita1b149f175c04959d775aa4200b6b08004fecfc7 (patch)
treed63cb7cf2f051e3f8150e01cb89cd86f829dd512 /docs
parente90a67c787ed062850ae7bc80f41b6f11e52b285 (diff)
downloadwiki-a1b149f175c04959d775aa4200b6b08004fecfc7.tar.gz
wiki-a1b149f175c04959d775aa4200b6b08004fecfc7.tar.bz2
wiki-a1b149f175c04959d775aa4200b6b08004fecfc7.zip
chore: add docs about clang-format (#596)
* chore: clang-format * Update clang-format.md * Update documentation-index.md
Diffstat (limited to 'docs')
-rw-r--r--docs/clang-format.md5
-rw-r--r--docs/documentation-index.md1
2 files changed, 6 insertions, 0 deletions
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)