From cc53e4b19e79277e49b030ca3cb1b346cae5bae1 Mon Sep 17 00:00:00 2001 From: Adam Scott Date: Fri, 25 Oct 2024 13:10:37 -0400 Subject: [PATCH] Add Web export file name section --- tutorials/export/exporting_for_web.rst | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tutorials/export/exporting_for_web.rst b/tutorials/export/exporting_for_web.rst index b582f80f1..e2e9450e2 100644 --- a/tutorials/export/exporting_for_web.rst +++ b/tutorials/export/exporting_for_web.rst @@ -37,6 +37,19 @@ in the user's browser. general, especially when using the GLES2 rendering backend (which only requires WebGL 1.0). +Export file name +---------------- + +We do suggest users to export their Web projects with ``index.html`` as the file name. +``index.html`` is usually the default file loaded by web servers when accessing the +parent directory, usually hiding the name of that file. + +.. attention:: + + The Godot 4 Web export expects some files to be named the same name as the one set in the + initial export. Some issues could occur if some exported files are renamed, including the + main HTML file. + WebGL version ------------- @@ -141,7 +154,7 @@ player to click, tap or press a key/button to enable audio, for instance when di .. seealso:: Google offers additional information about their `Web Audio autoplay policies `__. - Apple's Safari team also posted additional information about their `Auto-Play Policy Changes for macOS + Apple's Safari team also posted additional information about their `Auto-Play Policy Changes for macOS `__. .. warning:: Access to microphone requires a