summaryrefslogtreecommitdiff
path: root/docs/file-headers.md
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-05-04 13:28:13 +0200
committerGitHub <noreply@github.com>2021-05-04 13:28:13 +0200
commit8eaf79663deb9d5d5af5c34af0eadab42d2dac3c (patch)
tree080755d9f2382384e059984a70953657558b28d8 /docs/file-headers.md
parent386d092c28b608dba8b6b3236ccd069bac06c734 (diff)
downloadwiki-8eaf79663deb9d5d5af5c34af0eadab42d2dac3c.tar.gz
wiki-8eaf79663deb9d5d5af5c34af0eadab42d2dac3c.tar.bz2
wiki-8eaf79663deb9d5d5af5c34af0eadab42d2dac3c.zip
chore(docs): SOP (#454)
* chore(docs): Code standards * Create file-headers.md * sql * SOP * issue tracker * Update issue-tracker-standards.md * Update issue-tracker-standards.md * Update sql-standards.md * Update SQL-Versioning.md
Diffstat (limited to 'docs/file-headers.md')
-rw-r--r--docs/file-headers.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/file-headers.md b/docs/file-headers.md
new file mode 100644
index 0000000..0e54e88
--- /dev/null
+++ b/docs/file-headers.md
@@ -0,0 +1,23 @@
+# File Headers
+
+To make the files clean we use a standard format for new file headers.
+
+XXXX = start year
+YYYY = active year
+
+**Stand alone code from AzerothCore (No previous code from anyone):**
+
+```cpp
+/*
+ * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v3 license, you may redistribute it and/or modify it under version 3 of the License, or (at your option), any later version.
+ */
+```
+
+**With previous code from external sources or developers:**
+
+```cpp
+/*
+ * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v3 license, you may redistribute it and/or modify it under version 3 of the License, or (at your option), any later version.
+ * Copyright (C) XXXX-YYYY external-teamname <url>
+ */
+```