Skip to content

Commit 93bb9ce

Browse files
committed
update look
1 parent 07f84c2 commit 93bb9ce

3 files changed

Lines changed: 16 additions & 13 deletions

File tree

docs/_quarto.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project:
44
output-dir: _site
55

66
website:
7-
title: "vetiver for Python"
7+
title: "Vetiver for Python"
88
description: "Version, share, deploy, and monitor your Python models"
99
repo-url: https://github.com/rstudio/vetiver-python
1010
repo-actions: [edit, issue]
@@ -22,7 +22,7 @@ website:
2222
href: https://github.com/rstudio/vetiver-python
2323
aria-label: Vetiver python GitHub
2424
navbar:
25-
background: light
25+
background: "#562910"
2626
pinned: true
2727
logo: "figures/logo.svg"
2828
logo-alt: "vetiver-home"
@@ -40,7 +40,7 @@ website:
4040
- text: "vetiver.rstudio.com"
4141
href: https://vetiver.rstudio.com
4242
- text: "R package documentation"
43-
href: https://rstudio.github.io/vetiver-python/
43+
href: https://rstudio.github.io/vetiver-r/reference/
4444

4545
sidebar:
4646
- id: reference
@@ -109,5 +109,4 @@ profile:
109109
format:
110110
html:
111111
theme:
112-
- sandstone
113-
- style.css
112+
- flatly

docs/style.css

Lines changed: 0 additions & 7 deletions
This file was deleted.

vetiver/vetiver_model.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,18 @@ def __init__(
9393

9494
@classmethod
9595
def from_pin(cls, board, name: str, version: str = None):
96-
96+
"""
97+
Create VetiverModel from pinned model.
98+
99+
Parameters
100+
----------
101+
board :
102+
`pins` board where model is located
103+
name : str
104+
Model name inside pins board
105+
version : str
106+
What model version should be loaded
107+
"""
97108
model = board.pin_read(name, version)
98109
meta = board.pin_meta(name, version)
99110

0 commit comments

Comments
 (0)