Skip to content

Commit

Permalink
docs: update webapp info for 0.11 (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored May 4, 2024
1 parent 9e4ef7e commit 57f83e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/webapp.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can also use the `html` output and write your own webapp. You need to provid

```html
<script
src="https://cdn.jsdelivr.net/pyodide/v0.23.2/full/pyodide.js"
src="https://cdn.jsdelivr.net/pyodide/v0.25.1/full/pyodide.js"
crossorigin
></script>
```
Expand All @@ -44,13 +44,10 @@ You can get the families and the checks:

```js
result_html_py = pyodide.runPython(`
from pyodide.http import open_url
from repo_review.processor import process
from repo_review.ghpath import GHPath
from repo_review.html import to_html
GHPath.open_url = staticmethod(open_url)
package = GHPath(repo="${state.repo}", branch="${state.branch}")
to_html(*process(package))
`);
Expand Down

0 comments on commit 57f83e0

Please sign in to comment.