Skip to content

Commit

Permalink
chore(docs): fix docs for docarray
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Dec 12, 2021
1 parent b66306e commit c4ae700
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docarray/proto/build-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -ex

# Do NOT use this directly, use jinaai/protogen image
#
# current dir: jina root (the one with README.md)
# current dir: docarray root (the one with README.md)
# run the following in bash:
# docker run -v $(pwd)/proto:/jina/proto jinaai/protogen

Expand Down
17 changes: 17 additions & 0 deletions docs/proto/index.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
````{tip}
To update `docarray` Protobuf:
```bash
cd docarrat
docker run -v $(pwd)/proto:/jina/proto jinaai/protogen
```
To update `jina` Protobuf:
```bash
docker run -v $(pwd)/jina/:/jina/ -v $(pwd)/docarray/:/docarray/ jinaai/protogen
```
````

```{include} docs.md
```

0 comments on commit c4ae700

Please sign in to comment.