Skip to content

Commit cd6755c

Browse files
authored
docs: add web publication instructions to the single-file html (#554)
* docs: add webmaster instructions the single-file html * docs: improvements suggested by Aidan
1 parent 7db7e32 commit cd6755c

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

packages/studio-web/src/app/shared/download/download.service.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ Please host all assets on your server, include the font and package imports defi
205205
`
206206
<!DOCTYPE html>
207207
208+
<!-- DO NOT USE THIS VERSION ON A WEBSITE. See Web Publication Instructions below -->
209+
208210
<!--
209211
210212
Instructions for Opening this File
@@ -227,6 +229,22 @@ Please host all assets on your server, include the font and package imports defi
227229
228230
-->
229231
232+
<!--
233+
234+
Web Publication Instructions
235+
236+
Before publishing this ReadAlong on a web site, please convert it to a Web
237+
Bundle. This monolithic format is intended for editing and for offline use,
238+
but it is not optimized for publication on a web site.
239+
240+
Use the ReadAlong Studio Editor to convert this to a Web Bundle zip file:
241+
https://readalong-studio.mothertongues.org/#/editor
242+
Load it in the Editor and download it back using the "Web Bundle" Output Format.
243+
244+
Publication instructions are in file "www/readme.txt" in the bundle.
245+
246+
-->
247+
230248
<html lang="en">
231249
<head>
232250
<meta charset="utf-8">
@@ -255,7 +273,7 @@ Please host all assets on your server, include the font and package imports defi
255273
</read-along>
256274
</body>
257275
</html>
258-
`
276+
`
259277
.replace(/\n /g, "\n")
260278
.trim(),
261279
],

0 commit comments

Comments
 (0)