Skip to content

Commit 81552bb

Browse files
committed
initial commit
1 parent 3cc1852 commit 81552bb

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

docs/chat.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: "Chatbot"
3+
description: This is a chatbot that is trained on defang documentation and designed to answer questions
4+
sidebar_position: 500
5+
className: "no-title-page"
6+
---
7+
8+
<iframe
9+
src="https://chrisyhjiang-rag-chatbot--5000.prod1a.defang.dev"
10+
style={{
11+
width: "100%", // Assuming the sidebar width is 250px
12+
height: "100vh",
13+
borderRadius: "15px",
14+
border: "none",
15+
marginLeft: "0px",
16+
marginRight: "0px",
17+
display: "block" // Ensures proper centering
18+
}}>
19+
</iframe>

src/css/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,23 @@
2828
--ifm-color-primary-lightest: #d4e7f5;
2929
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
3030
}
31+
32+
.docs-doc-id-chat h1 {
33+
display: none;
34+
}
35+
36+
.docs-doc-id-chat .breadcrumbs {
37+
display: none;
38+
}
39+
40+
.docs-doc-id-chat main > .container {
41+
padding: 0px !important;
42+
}
43+
44+
.docs-doc-id-chat article > nav {
45+
display: none !important;
46+
}
47+
48+
.docs-doc-id-chat main > .container > .row > .col {
49+
max-width: 100% !important;
50+
}

0 commit comments

Comments
 (0)