diff --git a/.gitignore b/.gitignore index c47b705..0cfea06 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ test/test_metadata.json # GodotXterm-specific ignores .gdxterm +docs/demo +docs/logs diff --git a/docs/build.sh b/docs/build.sh new file mode 100755 index 0000000..8f63eb7 --- /dev/null +++ b/docs/build.sh @@ -0,0 +1,7 @@ +# Build export templates and export HTML5 release build. +pushd ../misc/export_templates +./build.sh +popd +pushd ../ +godot --no-window --export "HTML5" ./docs/demo/index.html +popd diff --git a/export_presets.cfg b/export_presets.cfg index 7dc8a04..18951d3 100644 --- a/export_presets.cfg +++ b/export_presets.cfg @@ -5,9 +5,9 @@ platform="HTML5" runnable=true custom_features="" export_filter="all_resources" -include_filter="" -exclude_filter="misc/*, addons/godot_xterm/native/thirdparty/*" -export_path="export/index.html" +include_filter="addons/godot_xterm/themes/fonts/hack/hack_regular-3.003.ttf" +exclude_filter="misc/*, **/thirdparty/*, **/unifont/*, **/nerd_fonts/*, **/noto_color_emoji/*, *bold*.ttf, *italic*.ttf" +export_path="docs/demo/index.html" script_export_mode=1 script_encryption_key=""