Skip to content

Commit

Permalink
Fix build: Install kserve for rendering the docstring (#334)
Browse files Browse the repository at this point in the history
* Update KServe python sdk docs

Signed-off-by: Dan Sun <[email protected]>

* Install kserve sdk for mkdocstring

Signed-off-by: Dan Sun <[email protected]>

---------

Signed-off-by: Dan Sun <[email protected]>
  • Loading branch information
yuzisun authored Jan 1, 2024
1 parent d20e3a3 commit aa186f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/python_runtime_api/docs/api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# KServe Python Serving Runtime API

::: kserve.model_server
::: kserve.model
::: kserve.protocol.infer_type
6 changes: 3 additions & 3 deletions docs/python_runtime_api/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ peotry install
```

## API Reference
::: kserve.model_server
::: kserve.model

Please refer to [API docs](./api.md).

## Storage API
The storage API is used by KServe `Storage Initializer` which supports the following cloud storage providers.
Expand All @@ -55,4 +55,4 @@ pip install kserve[storage]
* Generic URI over either `HTTP` prefixed with `http://` or `HTTPS` prefixed with `https://`.
For example:
* `https://<some_url>.com/model.joblib`
* `http://<some_url>.com/model.zip`
* `http://<some_url>.com/model.zip`
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ mike>=1.1.2
mkdocs-swagger-ui-tag
markdown-include
mkdocstrings-python
kserve>=0.12.0rc0

0 comments on commit aa186f9

Please sign in to comment.