Skip to content

Commit

Permalink
Merge pull request #884 from thewtex/packages-docs
Browse files Browse the repository at this point in the history
Packages docs
  • Loading branch information
thewtex authored Aug 7, 2023
2 parents 68ed164 + fe26b2e commit 09765c4
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/assets/javascript-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/assets/typescript-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

- [Installation](/docs/installation)

- [Packages](/docs/packages)

- [IO formats](/docs/file_formats)

- [DICOM](/docs/dicom_formats)
Expand Down
7 changes: 3 additions & 4 deletions docs/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
Install with:

```sh
npm install --save itk-wasm
npm install -g itk-wasm
```

For more information on build configuration, see how to use *itk-wasm* [in a
Node.js server application](/examples/node_io) or in an application that
[targets the web browser with Webpack](/examples/webpack).
For more information on installation setup, see [the tutorial
Introduction](../tutorial/hello_world?id=introduction).
21 changes: 21 additions & 0 deletions docs/docs/packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Packages

Example packages built with itk-wasm can be found below. If you created a
package, please [open a pull
request](https://github.com/InsightSoftwareConsortium/itk-wasm/compare) to add it to the table!

| <img width=100/> Repository | <img width=250/> Description | <img width=200/> Links |
|-----------------------------|------------------------------|:----------------------:|
| [@itk-wasm/compress-stringify][compress-stringify-repo] | *Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.* | ![js][js-logo] ![ts][ts-logo] <br/>[💻][compress-stringify-demo-js] &nbsp;[🕮][compress-stringify-docs-js] &nbsp;[📦][compress-stringify-package-js] <br/> <br/> ![py][py-logo] <br/>[💻][compress-stringify-demo-py] &nbsp;[🕮][compress-stringify-docs-py] &nbsp;[📦][compress-stringify-package-py] |

[js-logo]: ../assets/javascript-logo.svg
[ts-logo]: ../assets/typescript-logo.svg
[py-logo]: ../assets/python.svg

[compress-stringify-repo]: https://github.com/InsightSoftwareConsortium/itk-wasm/tree/main/packages/compress-stringify
[compress-stringify-demo-js]: https://itk-compress-stringify-app.on.fleek.co/
[compress-stringify-docs-js]: https://itk-compress-stringify-docs.on.fleek.co/
[compress-stringify-package-js]: https://www.npmjs.com/package/@itk-wasm/compress-stringify
[compress-stringify-demo-py]: https://itk-compress-stringify-py-app.on.fleek.co/
[compress-stringify-docs-py]: https://itk-wasm-compress-stringify-python-docs.on.fleek.co/
[compress-stringify-package-py]: https://pypi.org/project/itkwasm-compress-stringify/
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
coverpage: true,
loadSidebar: true,
loadNavbar: false,
nativeEmoji: true,
maxLevel: 3,
subMaxLevel: 2,
pagination: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.

[**Example**](https://itk-compress-stringify-py-app.on.fleek.co/)

[**Documentation**](https://itk-wasm-compress-stringify-python-docs.on.fleek.co/)

## Installation

```sh
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ itkwasm-compress-stringify
[![itkwasm-compress-stringify version](https://badge.fury.io/py/itkwasm_compress_stringify.svg)](https://pypi.org/project/itkwasm_compress_stringify/)

[**Example**](https://itk-compress-stringify-py-app.on.fleek.co/)

## Installation

::::{tab-set}
Expand Down Expand Up @@ -32,4 +34,4 @@ await micropip.install('itkwasm-compress-stringify')

apidocs/index.rst
itkwasm docs <https://itkwasm.readthedocs.io/>
```
```
3 changes: 2 additions & 1 deletion packages/core/python/itkwasm/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ This site provides the Python documentation. There is also [C++ and JavaScript/T
```{toctree}
:hidden:
introduction.md
packages.md
numpy.md
itk_python.md
```
Expand All @@ -43,4 +44,4 @@ itk_python.md
apidocs/index.rst
C++/JavaScript Docs <https://wasm.itk.org/>
```
```
14 changes: 14 additions & 0 deletions packages/core/python/itkwasm/docs/packages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Packages

Example packages built with itk-wasm can be found below. If you created a
package, please [open a pull
request](https://github.com/InsightSoftwareConsortium/itk-wasm/compare) to add it to the table!

| <img width=200/> Repository | Description | <img width=200/> Links |
|-----------------------------|------------------------------|:----------------------:|
| [itkwasm-compress-stringify][compress-stringify-repo] | *Zstandard compression and decompression and base64 encoding and decoding in WebAssembly.* | [💻][compress-stringify-demo-py] &nbsp;[🕮][compress-stringify-docs-py] &nbsp;[📦][compress-stringify-package-py] |

[compress-stringify-repo]: https://github.com/InsightSoftwareConsortium/itk-wasm/tree/main/packages/compress-stringify
[compress-stringify-demo-py]: https://itk-compress-stringify-py-app.on.fleek.co/
[compress-stringify-docs-py]: https://itk-wasm-compress-stringify-python-docs.on.fleek.co/
[compress-stringify-package-py]: https://pypi.org/project/itkwasm-compress-stringify/

0 comments on commit 09765c4

Please sign in to comment.