Skip to content

Commit

Permalink
docs: documentation improvements based on feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Jul 15, 2024
1 parent 96c6a67 commit 823a2b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions docs/outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ With that in mind, there are a variety of different output formats that can be c

## Simple web deployment

The `www` folder generated by the CLI's `readalongs align` command or included in the Web Bundle download format from the [Web App](web-app.md) include everything you need to host your ReadAlong on your own server.
The `www` folder generated by the CLI's `readalongs align` command or included in the Web Bundle download format from the [Web App](web-app.md) includes everything you need to host your ReadAlong on your own server.

Copy the whole folder with all its contents to your web server, and that should work as is on most web servers. The `index.html` provided will generate a page that shows only your readalong.

The elements of the `index.html` can also be copied into a larger page with other contents, or multiple readalongs -- see [Web Component details](#web-component-details) below.
The elements of the `index.html` can also be copied into a larger page with other contents or multiple readalongs -- see [Web Component details](#web-component-details) below.

## WordPress deployment

Expand Down Expand Up @@ -51,10 +51,11 @@ www
├── assets
│ ├── sample.wav
│ └── sample.readalong
└── index.html
├── index.html
└── readme.txt
```
Then you can host your site anywhere, or run it locally (`cd web && python3 -m http.server` for example)
Then you can host your site anywhere, or run it locally (`cd www && python3 -m http.server` for example)
## Single-file HTML
Expand Down
2 changes: 1 addition & 1 deletion test/test_align_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def test_align_with_package(self):
self.assertEqual(results_html.exit_code, 0)
self.assertTrue(
exists(join(output, "Offline-HTML", "html.html")),
"succesful html alignment should have created html/Offline-HTML/html.html",
"successful html alignment should have created html/Offline-HTML/html.html",
)

with open(join(output, "Offline-HTML", "html.html"), "rb") as fhtml:
Expand Down

0 comments on commit 823a2b7

Please sign in to comment.