-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreaddocs.html
More file actions
27 lines (27 loc) · 1.21 KB
/
readdocs.html
File metadata and controls
27 lines (27 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<html>
<head>
<link href="styles/main.css" rel="stylesheet">
<link href="styles/highlight.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rosario&display=swap" rel="stylesheet">
</head>
<body>
<div id="setup-window">
<h1>Setup ReadDocs</h1>
<input type="text" placeholder="API Key" id="apiKey" />
<button style="display: block;" id="connect-btn">Connect</button>
<br />
<p>You can get a Gemini API Key from here: <a href="https://ai.google.dev/gemini-api/docs/api-key" target="_blank">https://ai.google.dev/gemini-api/docs/api-key</a></p>
</div>
<div id="prompt-window" style="display: none;">
<h1>Ask ReadDocs</h1>
<input type="text" placeholder="Ask a question (Press ↲)" id="prompt" />
<p id="response" style="font-size: 17px; max-width: 90%;">
</p>
</div>
<script src="./scripts/marked.min.js"></script>
<script src="./scripts/highlight.min.js"></script>
<script src="main.js" type="module"></script>
</body>
</html>