Skip to content

Commit

Permalink
docs: improve the readability of the generated readme.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise authored and deltork committed Jun 5, 2024
1 parent 469f9ec commit bd6635e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readalongs/text/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,9 @@ def parse_time(time_string: str) -> int:
# todo: synchronize with web-component readme
# https://github.com/ReadAlongs/Web-Component/blob/main/packages/studio-web/src/app/demo/demo.component.ts#L49
# https://github.com/ReadAlongs/Web-Component/blob/main/packages/studio-web/src/app/demo/demo.component.ts#L328
TEMPLATE_README_TXT = """
TEMPLATE_README_TXT = """\
Web Deployment Guide
====================
This folder has everything you need to host your ReadAlong on your own server.
Expand All @@ -315,25 +316,25 @@ def parse_time(time_string: str) -> int:
Please host all assets on your server, include the font and package imports defined in the index.html in your website's imports, and include the corresponding <read-along> snippet everywhere you would like your ReadAlong to be displayed.
`
WordPress Deployment Guide
WordPress Deployment Guide
==========================
Setup the plugin (do this once)
-------------------------------
Install and activate our plugin 'read-along-web-app-loader' on your WordPress site.
See https://github.com/ReadAlongs/Studio-Web/tree/main/packages/web-component/wordpress-plugin for more information
Deploy the read-along
---------------------
Upload the images and {text} and {audio} to your Media Library of your WordPress site.
Use the text editor to paste the snippet below in your WordPress page
Use the text editor to paste the snippet below in your WordPress page:
---- WP Deployment SNIPPET ----
<!-- wp:html -->
Expand All @@ -345,7 +346,6 @@ def parse_time(time_string: str) -> int:
[/read_along_web_app_loader]
<!-- /wp:html -->
----- END OF SNIPPET----
"""


Expand Down

0 comments on commit bd6635e

Please sign in to comment.