Skip to content

docs(r): r pkgdown site #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pkg-r/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Description: Adds an LLM-powered chatbot to your 'shiny' app, that can
against your data, and return the result as a reactive dataframe. Use
it to drive reactive calculations, visualizations, downloads, etc.
License: MIT + file LICENSE
Depends:
URL: https://posit-dev.github.io/querychat/pkg-r,
https://posit-dev.github.io/querychat
Depends:
R (>= 4.1.0)
Imports:
bslib,
Expand Down
47 changes: 47 additions & 0 deletions pkg-r/pkgdown/_brand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
color:
palette:
blue: "#007bc2"
indigo: "#4b00c1"
purple: "#74149c"
pink: "#bf007f"
red: "#c10000"
orange: "#f45100"
yellow: "#f9b928"
green: "#00891a"
teal: "#00bf7f"
cyan: "#03c7e8"
white: "#ffffff"
black: "#1D1F21"

foreground: black
background: white
primary: blue
secondary: gray
success: green
info: cyan
warning: yellow
danger: red
light: "#f8f8f8"
dark: "#212529"

typography:
fonts:
- family: Open Sans
source: bunny
- family: Source Code Pro
source: bunny

headings:
family: Open Sans
weight: 400
monospace: Source Code Pro
monospace-inline:
color: pink
background-color: transparent
size: 0.95em

defaults:
bootstrap:
defaults:
navbar-bg: $brand-blue
code-color-dark: "#fa88d4"
39 changes: 39 additions & 0 deletions pkg-r/pkgdown/_pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
url: https://posit-dev.github.io/querychat

destination: "../docs/r"

development:
mode: auto

authors:
Posit Software, PBC:
href: https://www.posit.co
html: >-
<img src='https://www.tidyverse.org/posit-logo.svg' alt='Posit' height='16' width='62' style="margin-bottom: 3px;" />
Joe Cheng:
href: https://github.com/jcheng5
Carson Sievert:
href: https://cpsievert.me
Garrick Aden-Buie:
href: https://garrickadenbuie.com
Barret Schloerke:
href: https://schloerke.com/
Daniel Chen:
href: https://chendaniely.github.io

template:
bootstrap: 5
light-switch: true
theme: github-light
theme-dark: github-dark
bslib:
brand: pkgdown/_brand.yml

reference:
- title: Chat interfaces
contents:
- querychat_init
- querychat_server
- querychat_sidebar
- querychat_system_prompt
- querychat_ui