diff --git a/src/LuaEngine/GlobalMethods.h b/src/LuaEngine/GlobalMethods.h
index f42922a..f089cd3 100644
--- a/src/LuaEngine/GlobalMethods.h
+++ b/src/LuaEngine/GlobalMethods.h
@@ -1273,6 +1273,9 @@ namespace LuaGlobalFunctions
}
template
+ /**
+ * {docs_ignore}
+ */
int DBQueryAsync(lua_State* L, DatabaseWorkerPool& db)
{
const char* query = Eluna::CHECKVAL(L, 1);
diff --git a/src/LuaEngine/docs/ElunaDoc/parser.py b/src/LuaEngine/docs/ElunaDoc/parser.py
index 471c87f..4df3da4 100644
--- a/src/LuaEngine/docs/ElunaDoc/parser.py
+++ b/src/LuaEngine/docs/ElunaDoc/parser.py
@@ -246,7 +246,8 @@ class ClassParser(object):
# Format the method name into each prototype.
self.prototypes = [proto.format(self.method_name) for proto in self.prototypes]
- self.methods.append(MethodDoc(self.method_name, self.description, self.prototypes, self.params, self.returned))
+ if not "{docs_ignore}" in self.description:
+ self.methods.append(MethodDoc(self.method_name, self.description, self.prototypes, self.params, self.returned))
# Table of which handler is used to handle each regular expressions.
regex_handlers = {
diff --git a/src/LuaEngine/docs/ElunaDoc/static/dark.css b/src/LuaEngine/docs/ElunaDoc/static/dark.css
new file mode 100644
index 0000000..a284615
--- /dev/null
+++ b/src/LuaEngine/docs/ElunaDoc/static/dark.css
@@ -0,0 +1,361 @@
+/*
+ _______
+ / \
+ .==. .==.
+ (( ))==(( ))
+ / "==" "=="\
+ /____|| || ||___\
+ ________ ____ ________ ___ ___
+ | ___ \ / \ | ___ \ | | / /
+ | | \ \ / /\ \ | | \ \| |_/ /
+ | | ) / /__\ \ | |__/ /| ___ \
+ | |__/ / ______ \| ____ \| | \ \
+_______|_______/__/ ____ \__\__|___\__\__|___\__\____
+| ___ \ | ____/ / \ | ___ \ | ____| ___ \
+| | \ \| |___ / /\ \ | | \ \| |___| | \ \
+| |__/ /| ____/ /__\ \ | | ) | ____| |__/ /
+| ____ \| |__/ ______ \| |__/ /| |___| ____ \
+|__| \__\____/__/ \__\_______/ |______|__| \__\
+ https://darkreader.org
+*/
+
+/*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/main/LICENSE */
+
+/* User-Agent Style */
+html {
+ background-color: #181a1b !important;
+}
+html {
+ color-scheme: dark !important;
+}
+html, body, input, textarea, select, button, dialog {
+ background-color: #181a1b;
+}
+html, body, input, textarea, select, button {
+ border-color: #736b5e;
+ color: #e8e6e3;
+}
+a {
+ color: #3391ff;
+}
+table {
+ border-color: #545b5e;
+}
+::placeholder {
+ color: #b2aba1;
+}
+input:-webkit-autofill,
+textarea:-webkit-autofill,
+select:-webkit-autofill {
+ background-color: #404400 !important;
+ color: #e8e6e3 !important;
+}
+::-webkit-scrollbar {
+ background-color: #202324;
+ color: #aba499;
+}
+::-webkit-scrollbar-thumb {
+ background-color: #454a4d;
+}
+::-webkit-scrollbar-thumb:hover {
+ background-color: #575e62;
+}
+::-webkit-scrollbar-thumb:active {
+ background-color: #484e51;
+}
+::-webkit-scrollbar-corner {
+ background-color: #181a1b;
+}
+::selection {
+ background-color: #004daa !important;
+ color: #e8e6e3 !important;
+}
+::-moz-selection {
+ background-color: #004daa !important;
+ color: #e8e6e3 !important;
+}
+
+/* Invert Style */
+.jfk-bubble.gtx-bubble, .captcheck_answer_label > input + img, span#closed_text > img[src^="https://www.gstatic.com/images/branding/googlelogo"], span[data-href^="https://www.hcaptcha.com/"] > #icon, #bit-notification-bar-iframe, ::-webkit-calendar-picker-indicator {
+ filter: invert(100%) hue-rotate(180deg) contrast(90%) !important;
+}
+
+/* Variables Style */
+:root {
+ --darkreader-neutral-background: #131516;
+ --darkreader-neutral-text: #d8d4cf;
+ --darkreader-selection-background: #004daa;
+ --darkreader-selection-text: #e8e6e3;
+}
+
+/* Modified CSS */
+body {
+ color: rgb(200, 195, 188);
+}
+h1,
+h2,
+h3:not(.impl):not(.method),
+h4:not(.method) {
+ color: rgb(232, 230, 227);
+}
+h1.fqn {
+ border-bottom-color: rgb(60, 65, 67);
+}
+h2,
+h3:not(.impl):not(.method),
+h4:not(.method) {
+ border-bottom-color: rgb(58, 62, 65);
+}
+.docblock code {
+ background-color: rgb(30, 32, 33);
+}
+pre {
+ background-color: rgb(30, 32, 33);
+}
+.sidebar .location {
+ background-image: initial;
+ background-color: rgb(41, 44, 46);
+ color: rgb(200, 195, 188);
+}
+.block a:hover {
+ background-image: initial;
+ background-color: rgb(30, 32, 33);
+}
+.content pre.line-numbers {
+ border-color: initial;
+}
+.line-numbers span {
+ color: rgb(214, 149, 75);
+}
+.line-numbers .line-highlighted {
+ background-color: rgb(68, 73, 2);
+}
+.content .highlighted {
+ background-color: rgb(53, 57, 59);
+ color: rgb(232, 230, 227) !important;
+}
+.content .highlighted a {
+ color: rgb(232, 230, 227) !important;
+}
+.content .highlighted.trait {
+ background-color: rgb(128, 80, 1);
+}
+.content .highlighted.mod {
+ background-color: rgb(29, 54, 86);
+}
+.content .highlighted.enum {
+ background-color: rgb(47, 77, 58);
+}
+.content .highlighted.struct {
+ background-color: rgb(98, 42, 25);
+}
+.content .highlighted.fn {
+ background-color: rgb(78, 55, 59);
+}
+.docblock h1,
+.docblock h2,
+.docblock h3,
+.docblock h4,
+.docblock h5 {
+ border-bottom-color: rgb(58, 62, 65);
+}
+nav {
+ border-bottom-color: rgb(57, 61, 64);
+}
+nav.main .current {
+ border-top-color: rgb(140, 130, 115);
+ border-bottom-color: rgb(140, 130, 115);
+}
+nav.main .separator {
+ border-color: rgb(140, 130, 115);
+}
+a {
+ text-decoration-color: initial;
+ color: rgb(232, 230, 227);
+ background-image: initial;
+ background-color: transparent;
+}
+p a {
+ color: rgb(92, 155, 206);
+}
+p a:hover {
+ text-decoration-color: initial;
+}
+.content a.trait,
+.block a.current.trait {
+ color: rgb(252, 173, 39);
+}
+.content a.mod,
+.block a.current.mod {
+ color: rgb(115, 156, 193);
+}
+.content a.enum,
+.block a.current.enum {
+ color: rgb(155, 146, 133);
+}
+.content a.struct,
+.block a.current.struct {
+ color: rgb(255, 94, 44);
+}
+.content a.fn,
+.block a.current.fn {
+ color: rgb(157, 149, 136);
+}
+.content .fnname {
+ color: rgb(157, 149, 136);
+}
+.search-input {
+ outline-color: initial;
+ border-color: initial;
+ color: rgb(178, 172, 162);
+ box-shadow: rgb(42, 45, 47) 0px 0px 0px 1px,
+ rgba(0, 0, 0, 0) 0px 0px 0px 2px;
+}
+.search-input:focus {
+ border-color: initial;
+ outline-color: initial;
+ box-shadow: rgb(6, 113, 173) 0px 0px 8px;
+}
+#help {
+ background-image: initial;
+ background-color: rgb(36, 39, 41);
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 6px;
+ border-color: rgb(66, 72, 74);
+}
+#help dt {
+ border-color: rgb(66, 72, 74);
+ background-image: initial;
+ background-color: rgb(24, 26, 27);
+}
+.stability {
+ border-left-color: initial;
+}
+.stability.Deprecated {
+ border-color: rgb(100, 65, 106);
+ color: rgb(179, 123, 188);
+}
+.stability.Experimental {
+ border-color: rgb(124, 38, 36);
+ color: rgb(202, 101, 98);
+}
+.stability.Unstable {
+ border-color: rgb(124, 95, 36);
+ color: rgb(202, 167, 98);
+}
+.stability.Stable {
+ border-color: rgb(60, 120, 64);
+ color: rgb(123, 211, 128);
+}
+.stability.Frozen {
+ border-color: rgb(0, 211, 70);
+ color: rgb(121, 255, 164);
+}
+.stability.Locked {
+ border-color: rgb(0, 145, 200);
+ color: rgb(106, 215, 255);
+}
+.stability.Unmarked {
+ border-color: rgb(67, 73, 76);
+}
+.summary.Deprecated {
+ background-color: rgb(110, 72, 117);
+}
+.summary.Experimental {
+ background-color: rgb(129, 40, 37);
+}
+.summary.Unstable {
+ background-color: rgb(97, 74, 28);
+}
+.summary.Stable {
+ background-color: rgb(67, 134, 71);
+}
+.summary.Unmarked {
+ background-color: rgb(62, 68, 70);
+}
+:target {
+ background-image: initial;
+ background-color: rgb(56, 58, 0);
+}
+pre.rust .kw {
+ color: rgb(149, 105, 177);
+}
+pre.rust .kw-2,
+pre.rust .prelude-ty {
+ color: rgb(114, 160, 201);
+}
+pre.rust .number,
+pre.rust .string {
+ color: rgb(226, 255, 106);
+}
+pre.rust .self,
+pre.rust .boolval,
+pre.rust .prelude-val,
+pre.rust .attribute,
+pre.rust .attribute .ident {
+ color: rgb(219, 73, 73);
+}
+pre.rust .comment {
+ color: rgb(161, 152, 140);
+}
+pre.rust .doccomment {
+ color: rgb(184, 178, 168);
+}
+pre.rust .macro,
+pre.rust .macro-nonterminal {
+ color: rgb(107, 192, 197);
+}
+pre.rust .lifetime {
+ color: rgb(236, 158, 81);
+}
+.methods .section-header {
+ border-bottom-color: initial !important;
+}
+.collapse-toggle {
+ color: rgb(168, 160, 149);
+}
+.toggle-label {
+ color: rgb(168, 160, 149);
+}
+
+/* Override Style */
+.vimvixen-hint {
+ background-color: #7b5300 !important;
+ border-color: #d8b013 !important;
+ color: #f3e8c8 !important;
+}
+::placeholder {
+ opacity: 0.5 !important;
+}
+#edge-translate-panel-body,
+.MuiTypography-body1,
+.nfe-quote-text {
+ color: var(--darkreader-neutral-text) !important;
+}
+gr-main-header {
+ background-color: #0f3a48 !important;
+}
+.tou-z65h9k,
+.tou-mignzq,
+.tou-1b6i2ox,
+.tou-lnqlqk {
+ background-color: var(--darkreader-neutral-background) !important;
+}
+.tou-75mvi {
+ background-color: #032029 !important;
+}
+.tou-ta9e87,
+.tou-1w3fhi0,
+.tou-1b8t2us,
+.tou-py7lfi,
+.tou-1lpmd9d,
+.tou-1frrtv8,
+.tou-17ezmgn {
+ background-color: #0a0a0a !important;
+}
+.tou-uknfeu {
+ background-color: #231603 !important;
+}
+.tou-6i3zyv {
+ background-color: #19576c !important;
+}
+embed[type="application/pdf"][src="about:blank"] { filter: invert(100%) contrast(90%); }
diff --git a/src/LuaEngine/docs/ElunaDoc/templates/_base.html b/src/LuaEngine/docs/ElunaDoc/templates/_base.html
index 5b46ac9..c5f2d8b 100644
--- a/src/LuaEngine/docs/ElunaDoc/templates/_base.html
+++ b/src/LuaEngine/docs/ElunaDoc/templates/_base.html
@@ -4,11 +4,12 @@
-
+
{% block title %}Eluna API{% endblock %}
+
diff --git a/src/LuaEngine/docs/ElunaDoc/templates/index.html b/src/LuaEngine/docs/ElunaDoc/templates/index.html
index 49c4cac..f0d427b 100644
--- a/src/LuaEngine/docs/ElunaDoc/templates/index.html
+++ b/src/LuaEngine/docs/ElunaDoc/templates/index.html
@@ -24,27 +24,40 @@
Eluna is a Lua engine for World of Warcraft emulators.
- Eluna supports CMaNGOS /MaNGOS
- and TrinityCore .
+ These pages are for AzerothCore 's version, but Eluna also supports
+ CMaNGOS /MaNGOS and TrinityCore .
- To get Eluna, simply clone your favorite version of MaNGOS or Trinity from
- our Github account .
- Each fork there has Eluna already integrated, so you just need to compile and go!
+ If you come from the TypeScript / JavaScript world, or would prefer to use a typed language instead of Lua, check out eluna-ts !
- Follow us on our Twitter page to view the latest news about what's going on with Eluna.
+ You can get support in the #eluna-ac channel of AzerothCore's Discord server .
+
+
+ You can also join the official Eluna Discord server , where you'll be able to find resources, releases and support provided by the Eluna community.
-
+
+
+
+ If you haven't already, clone AzerothCore from our GitHub repository
+ Go to the modules directory and run the following command: git clone https://github.com/azerothcore/mod-eluna.git mod-eluna
+ Run CMake
+ Build AzerothCore
+
+
+
+
The layout, CSS, and Javascript code for this documentation was borrowed from doc.rust-lang.org .
@@ -74,4 +87,4 @@
{%- endfor %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}