Skip to content

Commit

Permalink
Improve README and link from not-found to SO answer I wrote
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Gieringer <78054+carlgieringer@users.noreply.github.com>
  • Loading branch information
carlgieringer committed Jan 8, 2024
1 parent 982509d commit 8f120d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion howdju-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ yarn run build-and-start

## Deployment

Build the docs locally:

```sh
yarn run build-and-export
```

Upload contents of `out` folder to s3://docs.howdju.com.
Upload contents of `out` folder to s3://docs.howdju.com:

```sh
aws-vault exec user@howdju -- aws s3 sync out s3://docs.howdju.com
Expand Down
1 change: 1 addition & 0 deletions howdju-docs/not-found.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<html><script>
// See https://stackoverflow.com/a/77070757
var url = new URL(window.location.href);
if (url.pathname.endsWith('.html')) {
// If the path already ends with html, there isn't another path we can try.
Expand Down

0 comments on commit 8f120d9

Please sign in to comment.