Skip to content

Commit cc53e4b

Browse files
committed
Add Web export file name section
1 parent cb2a53f commit cc53e4b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

tutorials/export/exporting_for_web.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,19 @@ in the user's browser.
3737
general, especially when using the GLES2 rendering backend (which only
3838
requires WebGL 1.0).
3939

40+
Export file name
41+
----------------
42+
43+
We do suggest users to export their Web projects with ``index.html`` as the file name.
44+
``index.html`` is usually the default file loaded by web servers when accessing the
45+
parent directory, usually hiding the name of that file.
46+
47+
.. attention::
48+
49+
The Godot 4 Web export expects some files to be named the same name as the one set in the
50+
initial export. Some issues could occur if some exported files are renamed, including the
51+
main HTML file.
52+
4053
WebGL version
4154
-------------
4255

@@ -141,7 +154,7 @@ player to click, tap or press a key/button to enable audio, for instance when di
141154
.. seealso:: Google offers additional information about their `Web Audio autoplay
142155
policies <https://sites.google.com/a/chromium.org/dev/audio-video/autoplay>`__.
143156

144-
Apple's Safari team also posted additional information about their `Auto-Play Policy Changes for macOS
157+
Apple's Safari team also posted additional information about their `Auto-Play Policy Changes for macOS
145158
<https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/>`__.
146159

147160
.. warning:: Access to microphone requires a

0 commit comments

Comments
 (0)