From d484e5a28ced4b74a3219d8bb068eef23b23d020 Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Fri, 20 Sep 2024 18:55:53 +0200 Subject: [PATCH] Also build the documentation for release builds. --- SConstruct | 2 +- docs/setup/changelog.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 7563ba3..ffc1296 100644 --- a/SConstruct +++ b/SConstruct @@ -99,7 +99,7 @@ env.Append(CPPPATH=["xtl/include", "xsimd/include", "xtensor/include"]) env.Append(CPPPATH=["src/"]) sources = Glob("src/*.cpp") + Glob("src/*/*.cpp") -if env["target"] in ["editor", "template_debug"]: +if env["target"] in ["editor", "template_debug", "template_release"]: try: doc_data = env.GodotCPPDocData("src/gen/doc_data.gen.cpp", source=Glob("doc_classes/*.xml")) sources.append(doc_data) diff --git a/docs/setup/changelog.rst b/docs/setup/changelog.rst index d9ca37c..b6c3330 100644 --- a/docs/setup/changelog.rst +++ b/docs/setup/changelog.rst @@ -22,6 +22,7 @@ Version 0.2 - 2024-09-19 - Added the ``square`` function. - Added the ``clip`` function. - ``nd.array`` can now interpret multi-dimensional boolean arrays. +- Documentation is now available in the editor. **Changed**