Skip to content
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

feat: add AI Chat mode for Docs #2662

Draft
wants to merge 28 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6ded564
feat: add ai to docs home
ruf-io Nov 26, 2024
76f1971
chore: format content markdown files with Prettier
actions-user Nov 26, 2024
08f9e03
Merge branch 'ruf-io/inkeep-embedded' into docs-perplexity-mode
saimonkat Dec 17, 2024
2d6621d
feat: add new AI Chat mode for docs
saimonkat Dec 17, 2024
e138f75
test: hide inkeep chat to test vercel build issue
saimonkat Dec 18, 2024
ad3f565
fix: return inkeep chat to docs chat page
saimonkat Dec 18, 2024
7e24a96
fix: docs sidebar website links and back to docs link
saimonkat Dec 18, 2024
1882437
chore: remove strange data-attribute from postgres layout
saimonkat Dec 18, 2024
43a3fa8
feat: move docs search to sidebar, remove AI search
saimonkat Dec 18, 2024
7ffc225
fix: docs chat page dynamic import
saimonkat Dec 19, 2024
edea8b2
feat: add docs toggler in header, add skeleton loader to inkeep chat
saimonkat Dec 19, 2024
ae401a1
refactor: remove unused tailwind variables
saimonkat Dec 19, 2024
909ea34
feat: dark mode styles for header docs button
saimonkat Dec 19, 2024
032de88
feat: update docs chat styles
saimonkat Dec 19, 2024
80da922
refactor: move AI Chat page out from Docs, update chat styles
saimonkat Dec 19, 2024
d0dea50
feat: update ai chat styles
saimonkat Dec 19, 2024
3afefa0
feat: ai chat mobile styles
saimonkat Dec 19, 2024
6f4c247
test: align AI Chat page layout with classic Docs
saimonkat Dec 20, 2024
f7a1572
feat: update ai chat styles
saimonkat Dec 20, 2024
25fa369
fix: footer buttons light theme fix
saimonkat Dec 20, 2024
1376ff6
feat: update chat styles
saimonkat Dec 23, 2024
ff98fa6
feat: update adaptives
saimonkat Dec 23, 2024
8bc0012
fix: 100dvh fixes for mobile
saimonkat Dec 23, 2024
386414c
fix: 100svh fixes for mobile
saimonkat Dec 23, 2024
875f159
fix: fixes for mobile
saimonkat Dec 23, 2024
25a650d
refactor: remove unused hideFooter
saimonkat Dec 23, 2024
963333d
fix: add min-height for chat for horizontal mobiles
saimonkat Dec 23, 2024
24e64ce
fix: use-cases sidebar position
saimonkat Dec 23, 2024
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
6 changes: 3 additions & 3 deletions content/docs/sidebar.yaml
Original file line number Diff line number Diff line change
@@ -561,7 +561,7 @@
- title: AWS Lambda
slug: guides/aws-lambda
- title: Azure Functions
slug: https://neon.tech/guides/query-postgres-azure-functions
slug: guides/query-postgres-azure-functions
tag: new
- title: Trigger serverless functions with Inngest
slug: guides/trigger-serverless-functions
@@ -776,15 +776,15 @@
tag: community
icon: management
- title: Find your template
slug: https://neon.tech/templates
slug: /templates
icon: languages
- title: Examples repo
slug: https://github.com/neondatabase/examples
icon: cli
- section: Postgres
items:
- title: PostgreSQL Tutorial
slug: https://neon.tech/postgresql/tutorial
slug: /postgresql/tutorial
icon: get-started
- title: Neon Postgres guides
slug: postgresql/introduction
55 changes: 55 additions & 0 deletions public/inkeep/css/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
.ikp-ai-chat-footer__footer {
align-items: center;
}

.ikp-tagline {
align-items: center;
position: relative;
}

.ikp-tagline > div {
display: none;
}

.ikp-tagline > a > div:before {
content: 'Powered by';
font-weight: normal;
}

.ikp-tagline:after {
content: '';
margin-left: 1.5rem;
width: 64px;
height: 18px;
background: url('/inkeep/images/neon-logo.svg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
filter: grayscale(1);
}

.ikp-tagline:before {
content: '&';
position: absolute;
right: 64px;
color: #889096;
margin-left: 0.5rem;
margin-right: 0.5rem;
font-size: 0.875rem;
font-weight: 600;
}

[data-theme='dark'] {
.ikp-tagline:before {
color: #ffffff7a;
}

.ikp-tagline:after {
background: url('/inkeep/images/neon-white-logo.svg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
filter: grayscale(1);
opacity: 0.48;
}
}
Loading