diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 76b1339..75e805a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,6 +38,9 @@ jobs: HTML + - name: Add the demo page + run: cp -R demo site/demo + - uses: actions/upload-pages-artifact@v3 with: path: site diff --git a/README.md b/README.md index 48b41b5..4869b53 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ For more information about the Internet Archive's structure, see their [Python L ## Documentation -See the [documenation](https://jbuckner.github.io/InternetArchiveKit/) for a full API reference +See the [documentation](https://jbuckner.github.io/InternetArchiveKit/) for a full API reference, or try the [live demo](https://jbuckner.github.io/InternetArchiveKit/demo/) in your browser ## Basic Usage diff --git a/demo/index.html b/demo/index.html new file mode 100644 index 0000000..cd6b232 --- /dev/null +++ b/demo/index.html @@ -0,0 +1,152 @@ + + +
+ + ++ Live queries against the same archive.org endpoints + InternetArchiveKit + wraps. The Swift equivalent of each request is shown below the form. +
+ + + + + + +